API bar material yield strength from Robot

API bar material yield strength from Robot

AbelSV78
Enthusiast Enthusiast
511 Views
1 Reply
Message 1 of 2

API bar material yield strength from Robot

AbelSV78
Enthusiast
Enthusiast

Hi, 

 

we need to read the material properties (yield strength) of some bars from the Robot model. Could you indicate me the variable for visual basic and the mothod to use it?

 

Thank you in advance

0 Likes
Accepted solutions (1)
512 Views
1 Reply
Reply (1)
Message 2 of 2

rsousa_
Advocate
Advocate
Accepted solution

I think you should use RobotMaterialData object.

 

Aply like this:

Dim myMaterial As RobotMaterialData

Set myMaterial = RobApp.Project.Structure.Labels.Get(I_LT_MATERIAL, 'yourbar'.GetLabel(I_LT_MATERIAL).Name).Data
'your yield Strengh in N'  = myMaterial.RE

 

Regards