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: 

Robot Structural Internal Bracing API

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Benjamin.Ainsworth
266 Views, 2 Replies

Robot Structural Internal Bracing API

Hello all,

I am currently setting up various member definitions in Robot using API in VBA.  I wish to know if there is any API code that will allow me to check and uncheck the blocks shown below in the Internal Bracing tab of member definitions.

BenjaminAinsworth_0-1695211774091.png

I wish to be able to do this for all four of the tabs (Buckling Y, Buckling Z, Lateral buckling-upper flange, Lateral buckling-lower flange).  I am working with SANS.

 

Thank you for any help.

Labels (4)
2 REPLIES 2
Message 2 of 3

hi @Benjamin.Ainsworth 

 

look at these topics:

LTB & Steel Bracket[API] Steel Code Params Buckling Diagram, [API] Define Membertype Adjoin Params 

 

Here after an example

IRobotLabel Rlabel = Labels.Create(I_LT_MEMBER_TYPE, "SetOption_Adj_Member");
// [...]
IRDimMembDefData MembDefData = (IRDimMembDefData)Rlabel.Data;
MembDefData.SetIntPtAddOption(I_DMDIPDT_BUCKLING_Y, I_DMDIPOT_IN_ADJ_MEMBER, 1);
// [...]
Labels.Store(Rlabel);

Best Regards

 

 

Message 3 of 3

Thanks, that has sorted it.

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

Post to forums  

Autodesk Design & Make Report