Creating a Structural Grid via API

Creating a Structural Grid via API

eng_leandromartins
Advocate Advocate
221 Views
2 Replies
Message 1 of 3

Creating a Structural Grid via API

eng_leandromartins
Advocate
Advocate

 

I created an API to automatically create a grid, but I'm having trouble adjusting the axis labels.

All axes are using numbers.

I wrote the code like this:

grid.X.SetLabelFormat(IRobotStructuralAxisLabelType.I_SALT_ABC); // A, B, C...
grid.Y.SetLabelFormat(IRobotStructuralAxisLabelType.I_SALT_123); // 1, 2, 3...
grid.Z.SetLabelFormat(IRobotStructuralAxisLabelType.I_SALT_VALUE); // 0, 2000...


It seems this interface isn't working.

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

Stephane.kapetanovic
Mentor
Mentor
Accepted solution

hi @eng_leandromartins 

You should read this topic.

https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-generating-persistent-labels-for-...

Best regards

Stéphane Kapetanovic

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

eng_leandromartins
Advocate
Advocate

Thanks so much @Stephane.kapetanovic