Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

NX Routing Mechanical Bill of material length

Status
Not open for further replies.

neilsoft10

Petroleum
Joined
Nov 21, 2010
Messages
1
Location
US
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".
 
I have done a test with only LENGTH_ADDITION, since the LENGTH_COEFFICIENT is more electrical stuff then steelwork.
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.

 
Another information about those two parameters (from GTAC). It seems that both LENGTH_ADDITION and LENGTH_COEFFICIENT are for electrical routing only. And the NX Documentation is misleading,when those two parameters are mentioned in mechanical routing.
So, I will have to continue to use a workaround, that I have described in previous answer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top