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 TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

If statement in Part list

Status
Not open for further replies.

cubalibre000

Mechanical
Joined
Jan 27, 2006
Messages
1,070
Location
IT
Hi,
it's possible to have a column in the part list like if description=empty then part_number ?

Thank you...

Using NX 8 and TC9.1
 
Not that I'm aware of.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

To an Engineer, the glass is twice as big as it needs to be.
 
Too bad, that is a useful function.

If part_type == Bulk_item, Qty = 'AR'

I realize that NX does not have the part_type designation that is in a Pro/Engineer file, put it does provide a useful means of changing the qty from 1 to AR (As Required) for things like sealant, Loctite and paint.

Haven't played with NX BOMs in a few years, but is there a method to do this?


"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
 
Is the description a part attribute? If so, you should be able to use attributes & expressions to determine if the description is present or not. You can then create a new attribute and populate it with the description if it exists or the part number if it does not. Use this new attribute in your parts list.

looslib,
In the component properties, you can change the quantity type from "number" to "as-required". You can also mark a component as "non-geometric".

www.nxjournaling.com
 
Please let me know, if you get any answers.
Below is my issue statement. which is similar to you.

e.g.
Assembly items
1. L-Angle 3x2 ; Stock# 12345 ; Length 8in ; UOM inch
2. L-Angle 3x2 ; Stock# 12345 ; Length 10in ; UOM inch
3. L-Angle 5x3 ; Stock# 12346 ; Length 15in ; UOM inch
4. L-Angle 5x3 ; Stock# 12346 ; Length 20in ; UOM inch
5. Bolt 3/8 x 1.5 ; Stock #12347 ; UOM EA (i.e. each)

Desired output:
QTY - UOM - Description - Stock# - ITEM#
18 - inch - L-Angle 3x2 - 12345 - 1
25 - inch - L-Angle 5x3 - 12346 - 2
1 - EA - Bolt 3/8 x 1.5 - 12347 - 3

Thanks in advance
Yogeesh
 
Attached is an NX 8 part file that uses attributes and expressions to achieve the original request. Reference the "BomCell" attribute on your parts list or drawing note, then go back to the file and change or delete the value of the "Description" attribute (don't delete the attribute itself, though). If a description is entered, BomCell = description; if Description has no value then BomCell = part number. This works in native NX, might need some tweaks for those running TC.

Yogeesh,
This approach probably won't work for your situation. I think that your question is significantly different than Cubalibre00's, or perhaps I have not understood it properly...

www.nxjournaling.com
 
Hi cowski,
my original question is on part list, because components are in read only, we are under PDM, so expression can't be added on components.

Thank you...

Using NX 8 and PDM RuleDesigner
 
@looslib
You said that you have done some exercises in NX BOM, could you share the same. I am trying to see whether any conditional formattinf is possible in NX parts list...

Regards,
Yogeesh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top