Robot Structural Analysis Forum
Welcome to Autodesk’s Robot Structural Analysis Forums. Share your knowledge, ask questions, and explore popular Robot Structural Analysis topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Robot API - set bar relative dilatation load

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Anonymous
411 Views, 3 Replies

Robot API - set bar relative dilatation load

Hi,

I want to define a bar relative dilatation load with Robot API. Here is my script :

 

Dim ChargeDilat As RobotLoadRecord
CasMiseTension.Records.New(IRobotLoadRecordType.I_LRT_BAR_DILATATION)
ChargeDilat = CasMiseTension.Records.Get(1)
ChargeDilat.SetValue(IRobotBarDilatationRecordValues.I_BDRV_REL, -0.03)
ChargeDilat.Objects.FromText(1)

 

In Robot, the load is created and appears in the array, but the dilatation value is set to 0 instead of -0.03. I don't get any error message.

 

What is the problem ?

3 REPLIES 3
Message 2 of 4
Rafal.Gaweda
in reply to: Anonymous

Dim ChargeDilat As RobotLoadRecord
Set ChargeDilat = CasMiseTension.Records.Create(I_LRT_BAR_DILATATION)
ChargeDilat.SetValue I_BDRV_REL, 1
ChargeDilat.SetValue I_BDRV_DIL, -0.03
ChargeDilat.Objects.FromText 1

 



Rafal Gaweda
Message 3 of 4
Anonymous
in reply to: Rafal.Gaweda

Thanks, it works.

But what is the meaning of ChargeDilat.SetValue(IRobotBarDilatationRecordValues.I_BDRV_REL, 1) ?

Does it mean that the dilatation is relative and not absolute ? For an absolute dilatation, is the code 

ChargeDilat.SetValue(IRobotBarDilatationRecordValues.I_BDRV_REL, 0) ?

Message 4 of 4
Rafal.Gaweda
in reply to: Anonymous


But what is the meaning of ChargeDilat.SetValue(IRobotBarDilatationRecordValues.I_BDRV_REL, 1) ?

Does it mean that the dilatation is relative and not absolute ?

 

Yes

 

For an absolute dilatation, is the code 

ChargeDilat.SetValue(IRobotBarDilatationRecordValues.I_BDRV_REL, 0) ?

 

Yes

 



Rafal Gaweda

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report