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: 

changing moment and stress units

1 REPLY 1
SOLVED
Reply
Message 1 of 2
ethor
359 Views, 1 Reply

changing moment and stress units

   How would one go about changing the units for moment? I have tried the following and it does not work. It will only let you change the force component but not the length component. Is it possible to change both unit components?

 

RobotUnitData udm = pProjectPrefs.Units.Get(IRobotUnitType.I_UT_MOMENT);
    udm.Name = "N*m";
    pProjectPrefs.Units.Set(IRobotUnitType.I_UT_MOMENT,udm);

1 REPLY 1
Message 2 of 2
Rafal.Gaweda
in reply to: ethor

   For these two units (moment, stress) use IRobotUnitComplexData 

 

    IRobotUnitComplexData udm = pProjectPrefs.Units.Get(IRobotUnitType.I_UT_MOMENT);
    udm.Name = "N";

    udm.Name2 = "m";
    pProjectPrefs.Units.Set(IRobotUnitType.I_UT_MOMENT,udm);



Rafal Gaweda

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

Post to forums  

Autodesk Design & Make Report