I have created a new component in mm.
I have a few dimension in sketch that have high value (110000mm, 95000 mm, etc).
How could I change the dimension in sketch (or part file) from mm to cm or meter?
Thanks
In the Expression system you have complete control over the units used for an Expression. If you would prefer to have variables whose values, when entered, are in meters instead of millimeters, then set-up that expression with Meters are the units.
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA Siemens PLM: UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
The best approach is to create your variables upfront as simple expressions using whatever units are desired. Then when you create your model just use those expression names for the parameters of your model. However, if you've already got a parametric model then you'll still have to create a set of expressions to control the desired variables and then go into the expression system and set the value of the model parameters equal to the relevant expression. Unit conversion will take place automatically. For example, if you have a model with a parameter which was originally defined as 'p1 = 1000 mm', but you would prefer to have the variable entered in meters, just create another expression say 'Size = 1.0 m' and then set 'p1 = Size'. Now when you want to change your model, just edit 'Size' using values in meters.
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA Siemens PLM: UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
Also note that if you set your preferred analysis units before starting a sketch, the sketch dimensions created will take on those units instead of the part default units. For example, go to Menu -> analysis -> units and choose kg - m; start a new sketch and add a length dimension. The new expression created to drive the sketch geometry will have units of meter but the value displayed on screen will show the value in the default part units.
Also, you can convert the units of an expression after the expression has been created, but that takes some NXOpen code to do it (it isn't an option through the GUI).