Annotation Symbol Preview

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello again Revit API forum!
I finished my most recent task, and was on the hunt for something else that would better the lives of our technologists. Recently I had the (dis?)pleasure of creating a bunch of heating and cooling schematics for a project. I was adding annotative symbols to the schematics which I found rather clumsy. My main complaint is that Revit has no visual preview for the available symbols. I ended up placing every single symbol in the project into a big array and taking it with me from drawing to drawing so I could quickly grab the symbol I needed.
So, that brings me to the following:
1.) Why isn't this in Revit natively? With tonnes of symbols, it's really hard to remember by name, which one you are looking for.
2.) Can we easily get around this issue? My high level thought process was along the lines of
- Spawn a form with a picture
- Grab the highlighted symbol family
- Generate a preview image using the GeneratePreview method which I believe is available for all elements?
- Update the picture on the form periodically
Using the Revit lookup tool, I see that Annotative Symbols belong to the OST_Generic_Annotation Built In Category, my main question is how do you get the relevant family from the highlighted element of the Annotation pull down? I can get all family types, or the selected family instance, but not sure about inside a UI pull down. I searched for a similar tool, but couldn't find anything. If anyone has a better suggestion, I'm happy to hear it.
Thanks for this,