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