crecore
Mechanical
- Mar 11, 2010
- 64
I have an assembly which uses one material stocked by the foot. The drawing default units is inches and most of the qty columns are per (normal qty of an item). I created in expression in this component part file (also in inches) linked to the sketch perimeter. I then have it converted to feet and then rounded to the nearest hundredth (x.xx) with another epxression. Then I linked this expression to a part property.
In the assembly I have edited the qty cell and created a relationship to the part property of that component in the assembly via object attribute.
In the component, I did have to make the file part property unitless or else NX converts it back to inches, displaying the incorrect value.
In the assembly parts list I also had to set the cell style format to text and I added a suffix of FT (although this is also noted in the description of the components).
The issue remaining is that I have trailing zeros displaying in the parts list qty field of this item. It should display .87 feet for example (as it does in the component expression and in the components file property, but instead it displays .870000. Is the problem with the parts list, how the rounding was performed? I do not see any settings in the cell, column or parts list styles that control this. I also shut off trailing zeros in annotation preferences and this had no effect.
thanks
NX 8.0.1.5
In the assembly I have edited the qty cell and created a relationship to the part property of that component in the assembly via object attribute.
In the component, I did have to make the file part property unitless or else NX converts it back to inches, displaying the incorrect value.
In the assembly parts list I also had to set the cell style format to text and I added a suffix of FT (although this is also noted in the description of the components).
The issue remaining is that I have trailing zeros displaying in the parts list qty field of this item. It should display .87 feet for example (as it does in the component expression and in the components file property, but instead it displays .870000. Is the problem with the parts list, how the rounding was performed? I do not see any settings in the cell, column or parts list styles that control this. I also shut off trailing zeros in annotation preferences and this had no effect.
thanks
NX 8.0.1.5