How to Retrieve Symbolic Curves from a Family Instance?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am using the "get_Geometry()" method to retrieve the full geometry of a family instance.
https://www.revitapidocs.com/2015/380d4823-fbbd-e73b-9358-51f704a5fa1f.htm
Then, I am using the "GetSymbolGeometry()" or "GetInstanceGeometry()" methods to obtain the individual geometrical components of this family(solid, lines etc).
https://www.revitapidocs.com/2015/84ba2e4c-e22a-a12c-c632-1d3dc7edb4c1.htm
https://www.revitapidocs.com/2015/78c57647-ef0f-2d9d-2e16-d221fd5255c2.htm
The problem is that neither of the above functions report any of the symbolic lines of that family. (Annotation lines that are not visible in the 3D View).
Is there are way I can get those symbolic lines?
My ultimate goal is to identify the object styles subcategories of the symbolic those lines which are not in use in the model, to delete and clean the Revit model.
Any advise will be much appreciated.
Kind regards,
Alexandros