- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there!
I have for a long time now had a problem, where sometimes the geometry retrieved from a FamilyInstance refers to the FamilySymbol. This seems to happen at random in different projects, and is easily identifiable in that the geometry retrieved from:
familyInstance.get_Geometry(options)
is not a list of solids and other misc. GeometryObjects, but instead a singular GeometryInstance object. Then we can run GetInstanceGeometry() and GetSymbolGeometry() on this object and get the usual GeometryObject(s) like solids. As you would expect, GetInstanceGeometry() returns the geometry of the instance and not the symbol, but every single GeometryObject in the returned solid(s) (faces, curves etc.) exclusively have references to the FamilySymbol. Likewise, GetSymbolGeometry() returns geometry for the symbol, but now all the references of GeometryObject(s) refer to the FamilyInstance???
This behaviour can co-exist along with the normal expected behaviour in the same projects across different FamilyInstances.
Has anyone got any kind of clue as to why this happens on occasion in some projects, and not in others?
Solved! Go to Solution.