Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I want to catch the column faces but the when running the below code, it sucsses to catch the faces of floors, foundation and beams but when select a structural column, it catch nothing because the task dialog dosen't appear.
Element col = doc.GetElement(colRef); Options op = new Options(); op.View = doc.ActiveView; op.ComputeReferences = true; GeometryElement geoELem = col.get_Geometry(op); foreach (GeometryObject obj in geoELem) { Solid solid = obj as Solid; if (null != solid) { TaskDialog.Show("Tracing", solid.Faces.Size.ToString()); } } return Result.Succeeded;
Thanks in advance.
Solved! Go to Solution.