API ROBOT - Shell Reinforcement

API ROBOT - Shell Reinforcement

polylouis
Enthusiast Enthusiast
266 Views
1 Reply
Message 1 of 2

API ROBOT - Shell Reinforcement

polylouis
Enthusiast
Enthusiast

Hello Everyone,

 

I have one question about analysis of model.

 

I succeed to lauch stactic analysis  with the following code :

calc_engine = project.CalcEngine
calc_engine.GenerateModel()
status = calc_engine.CalculateEx(IRobotCalculationMode.I_CM_LOCAL_ASYNCHRONOUS)
print(f"Calculation status returned: {status}")
 
I would do similar way to calculate reinforcement of shell and I tried the next code :
concrCalcEngine = project.ConcrReinfEngine
concrSlabRequiredReinfEngine = concrCalcEngine.SlabRequiredReinf
==>  concrSlabRequiredReinfEngine.Calculate gives me "False"
 
When I go on Robot application I succeed to get results if I click on the follwing button : 
polylouis_0-1649951861087.png

 

polylouis_1-1649951943611.png

 

 
Unfortunately It does not work.
I think I don't lauch a method to calculate (like CalculateEx) but I don't find it on API documentation.
 
Do you have any ideas ?
 
Regards,
Louis 

 

 

0 Likes
267 Views
1 Reply
Reply (1)
Message 2 of 2

polylouis
Enthusiast
Enthusiast

Hello everyone,

 

Do you have any ideas to launch reinforcement calculation successfully ?

 

Thank you in advance !

Louis 

0 Likes