🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Command for choosing Units Profiles

User: "Toan_Nguyen_9509"
New Altair Community Member
Updated by Toan_Nguyen_9509

Hi,

I am working on a TCL script for HyperGraph. Every went smoothly until I reach the last steps and Hypergraph keeps asking me to choose the units for my plot before it can execute next commands in scripts. I cannot find any command relate to this Unit Profilese selection in HyperGraph objects. Could anyone please help?

image

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Michael Herve"
    Altair Employee
    Updated by Michael Herve

    Hello Toan,

     

    this can be done with SetUnitSystemBinding and SetUnitSystem commands. Preliminary, you have to define a Data File handle:

     

    MySession GetDataFileHandle MyFileData A:/MyFiles/MYOutputFile.abf

    MyFileData SetUnitSystemBinding (can be also reader or solver)

    MyFileData SetUnitSystem “m s Kg rad”

     

    Best Regards,

    Michael