- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to retrieve the references to the faces of a beam. I need this to display analysis results on these faces.
I tried using:
Element.Geometry
GeometryInstance.GetInstanceGeometry as Solid
but then Solid.Faces was empty.
I was more successful trying GeometryInstance.GetSymbolGeometry. I retrieved faces, but could not get references to these faces.
I need references and not just faces, because when I use SpatialFieldManager.AddSpatialFieldPrimitive(Face, Transform) the analysis colors does not display correctly - the "analysis gradient face" and actual face overshadows each other - I am not sure how to describe it, the same things happens when you have a duplicated element with different colors.
Solved! Go to Solution.