Community
Hi folks,
In our structural model we have circular columns.
When I try to get sizes(width and height) with the following code the values that I get are zero.
Why would this be happening? Any ideas are much appreciated!
RobotSelection barSelection = robApp.Project.Structure.Selections.CreateFull(IRobotObjectType.I_OT_BAR); IRobotCollection barCollection = (IRobotCollection)robApp.Project.Structure.Bars.GetMany(barSelection); RobotBar RB = barCollection.Get(i); var sectionData = RB.GetLabel(IRobotLabelType.I_LT_BAR_SECTION).Data; sectionHeight = sectionData.GetValue(IRobotBarSectionDataValue.I_BSDV_D); sectionWidth = sectionData.GetValue(IRobotBarSectionDataValue.I_BSDV_BF);
Sorry, I've mistakenly posted this question to the Revit forum. It should have been posted to the Robot forum.
Can't find what you're looking for? Ask the community or share your knowledge.