Cannot retrieve geometry for an annotation symbol

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been able to use get_geometry() to get GeometryObjects (and their references) from a FamilyInstance without to much trouble.
Is there a way to get the GeometryObjects from within a AnnotationSymbol?
Each time I bring in an AnnotationSymbol and use get_geometry() it returns null so I cannot use GetSymbolGeometry() on an GeometryInstance because none exist.
Below is the code used so far:
double ftMM = 1 / 304.8; // Feet to Millimetres FamilyInstance connectedLoadInstance = doc.Create.NewFamilyInstance(new XYZ(0, 50, 0) * ftMM, connectedLoadFamily, draftView); doc.Regenerate(); Options opt = new Options(); opt.ComputeReferences = true; opt.IncludeNonVisibleObjects = true; opt.View = doc.ActiveView; connectedLoadInstance.get_geometry(opt); // This returns null
The purpose of wanting the geometry inside the AnnotationSymbol is to use newAlignment() on the reference planes within them with a Detail Line in the currently project drafting view.
I can move the Generic Annotation into a Detail Item and use that to be able to do what I need since geo_geometry() gets the GeometryInstance correctly and I can use the center reference plane to do a newAlignment() fine.
Is there a way to get the GeometryObjects in an AnnotationSymbol?