Create templates using the API

Create templates using the API

Jelle.Visser
Participant Participant
574 Views
3 Replies
Message 1 of 4

Create templates using the API

Jelle.Visser
Participant
Participant

I'm having trouble with predefined templates in RSA. All the predefined member types, supports and releases just randomly disappear, and others appear. So to combat this, I was hoping I might be able to do this in the API. However, looking through the documentation I can see how to create members, but not how to just create member types, and I would also need to define things in the service menu, and define them as OCBF. We do not want to have to create this anew every time we create a new file.

 

The following things should be defined in the newly created files through the API:

  • Member types (Name, buckling coeficcient, seismic analysis parameters, service menu)
  • Releases
  • Supports
  • Used Codes (ANSI/ASCE or EC)
  • Seismic variables (ag or SS/S1 and ground type)
  • Load cases
  • Combinations
  • Load to mass conversion


The easiest would probably to do this in VB.NET, since all our other RSA code is in VB, however, C# would be fine too, I wouldn't mind an excuse to transition our codebase to C#. Any help would be greatly appreciated. Searching through the documentation hasn't yielded anything usefull yet, I can find parts about creating loadcases, but most bullet points are still up in the air.

0 Likes
Accepted solutions (1)
575 Views
3 Replies
Replies (3)
Message 2 of 4

Stephane.kapetanovic
Mentor
Mentor

hi @Jelle.Visser 

https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-tutorial/td-p/3939601

https://forums.autodesk.com/t5/robot-structural-analysis-forum/useful-addins-for-robot-api/td-p/3899...

Best regards

Stéphane Kapetanovic

Did you find this post helpful? If it gave you one or more solutions,
don't forget to accept the solution and leave a < like !
EESignature
0 Likes
Message 3 of 4

Jelle.Visser
Participant
Participant

Hi @Stephane.kapetanovic,

 

I've already looked through the API documentation in the SDK directory. And I've looked through both these pages as well. I cannot find what I'm looking for. I want to add member types in this menu:

JelleVisser_0-1676963231362.png

There I want to edit Buckling parameters, the service menu and seismic analysis parameters:

JelleVisser_1-1676963287373.png


And that's just the member types. If it is available in the documentation, could you point me in a more specific direction?

Cheers

0 Likes
Message 4 of 4

Stephane.kapetanovic
Mentor
Mentor
Accepted solution

hi @Jelle.Visser 

Steel design - CodeParams[EC8 & Python code][API] Define Membertype Adjoin Params[API] Steel Code Params Buckling Diagram

Best regards

Stéphane Kapetanovic

Did you find this post helpful? If it gave you one or more solutions,
don't forget to accept the solution and leave a < like !
EESignature