How would one enter a custom cross section via the api? For example I have an i beam with a height of 10, a width of 5, a flange thickness of 1 and a web thickness of 1. I have found IRobotBarSectionSpecialDataValue, but im not sure what dimensions the enum values relate to. Would i have to create a database to hold this section? What is the method for use of IRobotBarSectionSpecialData? Can i import a DXF of the shape as i can using the interface? Can you please provide a short example if it is not to much trouble?
Solved! Go to Solution.
Dim RLabel As RobotLabel
Dim RLabelData As RobotBarSectionData
Dim RLabelNSData As RobotBarSectionNonstdData
Set RLabel = RobApp.Project.Structure.Labels.Create(I_LT_BAR_SE
Set RLabelData = RLabel.Data
Set RLabelNSData = RLabelData.CreateNonstd(0)
RLabelData.Type = I_BST_NS_I
RLabelData.ShapeType = I_BSST_USER_I_BISYM
RLabelNSData.SetValue I_BSNDV_I_B, 0.2
RLabelNSData.SetValue I_BSNDV_I_H, 0.4
RLabelNSData.SetValue I_BSNDV_I_TF, 0.01
RLabelNSData.SetValue I_BSNDV_I_TW, 0.01
maybe this can be proven handy. It's an excel spreadsheet i put together some time ago (using the SDK documentation) to generate custom I-sections. http://odysseasgeorgiou.com/Components/RobotSectio