×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

If statement in Part list

If statement in Part list

If statement in Part list

(OP)
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

RE: If statement in Part list

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.

RE: If statement in Part list

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

RE: If statement in Part list

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

RE: If statement in Part list

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

RE: If statement in Part list

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

RE: If statement in Part list

(OP)
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

RE: If statement in Part list

@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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources