Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change units 3

Status
Not open for further replies.

CAD2015

Automotive
Joined
Jan 21, 2006
Messages
2,071
Location
US
Hi,

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

MZ7DYJ
 
hi,

Just try like 110m in the parameter field.

Thanks,
Mathi K
 
Doesn't work......

MZ7DYJ
 
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.
 
I mean, I need step-by-step direction.......

MZ7DYJ
 
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.
 
Thanks a lot.
I'll try that. [smile]

MZ7DYJ
 
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).

www.nxjournaling.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top