Modifying units in an existing model in Motionview without destroying the model

User: "Linn Liao"
New Altair Community Member
Updated by Linn Liao

Hi,

I tried modifying the units with:

from hw import mview

mod = mview.getModel()

mod.units.length = 'METER'

but it seems like the entire model falls apart because of the change. Is there a quick fix to this problem?

 

Thank you,

Linn

 

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Christopher_Fadanelli"
    Altair Employee
    Accepted Answer
    Updated by Christopher_Fadanelli

    Hi Linn,

     

    MotionView does not automatically update the units. For example if you have a motion set to a displacement of 100 mm. Then you change the units from MM to M. The motion value will not update to 0.1 meters. Instead it will be 100 m. 

    Unfortunately, you will need to go and update the values. A faster way would be to use Data Summary to export the values in excel, update the values and reimport the excel file.

     

    Best,

     

    Christopher Fadanelli