Multiply expressions by 25.4
Multiply expressions by 25.4
(OP)
A model was created by using wrong seed part (mm seed part was used instead of inch seed part), and also the dimensions were entered in mm instead of inches. I mean to say 25 in. dimension was entered as 25 mm.
I changed the part units by ug_convert_part.exe to inches.
Now I don't want to scale the model to 25.4 times the original.
Instead I want to multiply all the non-angular expressions by 25.4 in one shot. Is it possible?
I tried to edit expressions by using spreadsheet, but there I cannot make out whether an expression is a non-angular dimension or not.
ug version NX4.0.4.2
I changed the part units by ug_convert_part.exe to inches.
Now I don't want to scale the model to 25.4 times the original.
Instead I want to multiply all the non-angular expressions by 25.4 in one shot. Is it possible?
I tried to edit expressions by using spreadsheet, but there I cannot make out whether an expression is a non-angular dimension or not.
ug version NX4.0.4.2





RE: Multiply expressions by 25.4
How many expressions do you have and how many are angular? Of the non-angular expressions, do they all represent linear dimensions, or are some of them formulas, such as p10=p3+p4 or are they all parameters, as in p12=15?
John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: Multiply expressions by 25.4
As far as the expressions are concerned we have both p10=p3+p4 and p12=15 type expressions.
I believe this kind of mistake is common, and multiplying expressions by 25.4 after (or before) unit conversion is obvious in such case.
RE: Multiply expressions by 25.4
But getting back to your part file, how many expressions are there total? And how many are angular?
And if you can't provide the part file itself, could you at least go to...
Information -> Expression -> List All
...save the resulting list to a text file (File -> Save As...) and attach it to a reply to this thread?
John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.