Cancel
Showing results for 
Search instead for 
Did you mean: 

ug_convert_part is showing failure

Creator
Creator

hi all,

 

As iam facing a issue right now with unit conversion of a part in NX ,

 

it is a assembly file i need to change so i put a command that ug_convert_part -y (assembly part) -mm -allow_spreadsheets

but it resulted failure as it is showing some  dimensionality unknow in lot of places.

 

anyone please help me to sort out this issue.

 

Regards

Nikhil Das

4 REPLIES

Re: ug_convert_part is showing failure

Hi @NikhilGDas,

 

The attachment is no more available in the post. Also, what version of NX are you using?

 

Ganesh Kadole, QA Analyst (PLM), SQS
Testing: NX 11 | NX 12 | TCIN
TC 11.2 | TC Vis 11.3 | AWC 3.2

Re: ug_convert_part is showing failure

Creator
Creator

Hi@Ganesh_kadole

 

iam using NX 9

 

unnamed.jpg 

Re: ug_convert_part is showing failure

Hi @NikhilGDas,

 

For all the expressions defined, Dimensionality of the left side of the expression should match with the right side of the expression. Check all the expressions with respect to the dimensionality.

 

Ganesh Kadole, QA Analyst (PLM), SQS
Testing: NX 11 | NX 12 | TCIN
TC 11.2 | TC Vis 11.3 | AWC 3.2

Re: ug_convert_part is showing failure

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi @NikhilGDas,

 

When the base units of a part are converted using the ug_convert_part utility, only those expressions created without units will be converted. There will be no attempt to convert any expression or formula that has assigned to it a dimensionality other than Constant. This means that all expressions with an explicit unit of measure, whether as a result of the creation of a parametric feature, or because it is a user-written engineering formula, will remain unchanged.

 

The conversion program only converts unitless values. First, it analyzes their usage and tries to infer the proper conversion.  With complex expressions the conversion makes its best guess at how to convert each term in the expression. In some cases the conversion program just does not have enough information to do a proper conversion. As the complexity of the expressions increase so does the need for more units information. This can be done by assigning units to expressions.  Otherwise, the conversion program only works well for simple assignments with only constants on the right hand side of the expression.  The conversion program is not a full blown units analyzer.  It merely tries to convert simple assignments and does a much better job as the amount of units information provided by the user increases.

 

Regards, Ben