NX Routing Mechanical Bill of material length
NX Routing Mechanical Bill of material length
(OP)
While calling pipe length in NX routing mechanical BOM, we can specify "LENGTH_ADDITION" & "LENGTH_COEFFICIENT" VALUES.
Then NX reports the length as:
"LENGTH = LENGTH_ADDITION + (LENGTH_COEFFICIENT * <calculated length>)"
Where do we specify the values of LENGTH_ADDITION & LENGTH_COEFFICIENT .
Do we need to specify them in ptb file of stock, or in "ugroute_mech_in.xml".
Then NX reports the length as:
"LENGTH = LENGTH_ADDITION + (LENGTH_COEFFICIENT * <calculated length>)"
Where do we specify the values of LENGTH_ADDITION & LENGTH_COEFFICIENT .
Do we need to specify them in ptb file of stock, or in "ugroute_mech_in.xml".





RE: NX Routing Mechanical Bill of material length
Well, here is how I have done this:
1. I have opened my prt file and add the LENGTH_ADDITION expression in Tools/Expression
2. I have add this new expression to the PartFamily (tools menu)
3. I have saved this changed model
4. now, I have opened ptb file
5. I have add LENGTH_ADDITION to my ptb file
Now, when I use this profile, I can also select LENGTH_ADDITION attribute. But the current problem is in Drafting. If my profile is 500mm long, I will get exactly this value in my BOM. I can add new column for LENGTH_ADDITION, but I can not get new column with the value for LENGTH+LENGTH_ADDITION yet. LENGTH value is not calculated to the new LENGTH_ADDITION attribute.
What I can do to get a different value is this:
1. add new column
2. click with right mouse button on this new column and select Style
3. in Cells tab, I select Evaluate Cell as Formula
4. in Columns tab, I type this <W$=@LENGTH>+<W$=@LENGTH_ADDITION>. Length attribute is true value and length_addition in the value, that I have defined in my prt and ptb file.
I hope, that this helps a bit.
RE: NX Routing Mechanical Bill of material length
So, I will have to continue to use a workaround, that I have described in previous answer.