Robot Structural Analysis Forum
Welcome to Autodesk’s Robot Structural Analysis Forums. Share your knowledge, ask questions, and explore popular Robot Structural Analysis topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom Section Shape Via API

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
ethor
651 Views, 5 Replies

Custom Section Shape Via API

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?

 

5 REPLIES 5
Message 2 of 6
Rafal.Gaweda
in reply to: ethor

Can i import a DXF of the shape as i can using the interface? 

 

There is no API in Section Builder module so this approach will not work.



Rafal Gaweda
Message 3 of 6
Rafal.Gaweda
in reply to: ethor

example code:

 

Dim RLabel As RobotLabel

Dim RLabelData As RobotBarSectionData
Dim RLabelNSData As RobotBarSectionNonstdData

Set RLabel = RobApp.Project.Structure.Labels.Create(I_LT_BAR_SECTION, "my_section")
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

RobApp.Project.Structure.Labels.Store RLabel



Rafal Gaweda
Message 4 of 6
odysseasg
in reply to: ethor

Ethor, 

 

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/RobotSections.xlsm

 

 

Message 5 of 6
altiscad
in reply to: ethor

There is any API support for Section Builder module in the latest version?

Regards, Gabi

Message 6 of 6
Rafal.Gaweda
in reply to: altiscad


There is any API support for Section Builder module in the latest version?

 

There is no API for Section Builder

 



Rafal Gaweda

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report