Robot API: Number of calculation points

Robot API: Number of calculation points

Anonymous
Not applicable
848 Views
4 Replies
Message 1 of 5

Robot API: Number of calculation points

Anonymous
Not applicable

Dear all,

 

I'd like to modify the number of calculation points during a Steel design calculation in my API script. Is there a simple way to do this that does not require any work-arounds like using characteristic points?

 

Thanks for the help in advance!

 

Best regards,

Marcell

 

image.png

0 Likes
Accepted solutions (1)
849 Views
4 Replies
Replies (4)
Message 2 of 5

Romanich
Mentor
Mentor

Hi @Anonymous,

 

Maybe this macro will help you to find how to do it

https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-macro-for-member-verification-uls-ratio-along-bar-length/td-p/5873614

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.

Roman Zhelezniak

Robot Evangelist & Passionate Civil Structural Engineer

LinkedIn | Robot & Хобот | App Store for Robot
EESignature


0 Likes
Message 3 of 5

Anonymous
Not applicable

Hi @Romanich,

 

Thanks for your answer!

 

I have seen and used this macro before. Unfortunately this solution introduces characteristic points along the bar length and gets the utilization ratios in a for loop over these points .

 

As I said, I would prefer to avoid this work-around and introduce simply a number of calculation points in my API script.

 

I'm trying the following code:

Set RDMAllRes = RDmEngine.Results
Set RDmDetRes = RDMAllRes.Get(currentBar.Number)
Set RDmEffDef = RDmDetRes.EffDef RDmEffDef.WriteParam I_DEDPT_POINTS_NUM, 10

But it doesn't quite do the trick.

 

Best regards,

Marcell

0 Likes
Message 4 of 5

Rafal.Gaweda
Autodesk Support
Autodesk Support
Accepted solution

Hi @Anonymous

 

I think You should use IRDimCalcConf.NPointsNum

 



Rafal Gaweda
0 Likes
Message 5 of 5

Anonymous
Not applicable

Hi @Rafal.Gaweda,

 

Thank you! That was exactly what I was looking for. It is actually very well described in the Robot Steel API guide.

 

Best regards,

Marcell

0 Likes