×
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

Relations for alt part number

Relations for alt part number

Relations for alt part number

(OP)
Hi All:

I'm looking to use both the file name and a different name in my BOM. I know I need to set a relations but just do not know how to word it.
here are my parameters:
alt_prt_no (yes/no)
alt_part_number (new part number)

if alt_prt_no=yes then alt_part_number(help)

-Caper-

RE: Relations for alt part number

Hello,

Do you mean the BOM on the drawing or the one on the model?

If the one on the drawing then this is how we have overcome this.

We have a model name e.g. abcd.prt

We use the one generic model to create an infinite number of sizes, so we need to create a unique drawing number, which we have done by using dimensions that will change.

e.g. if abcd.prt is a cube you would enter the three dimensions e.g. length, width and depth.

we convert these to text so if length=10, width=15 and depth=20

a relation is required

real_len=itos(length)
real_wid=itos(width)
real_dep=itos(depth)

real_name=real_len + " " + real_wid + " " + real_dep

On the drawing BOM either add a column showing asm.mbr.real_name.

For your solution,
the realtion would be
if alt_part_no=="YES"
real_name=name:2
else
real_name=name:1
endif

I haven't tested this, but it is a start, hope this is understandable and some help, let me know how you get on or if you have any problems. I'm about to go home, so will have to wait until the morning.

 

Hope this helps.

----------------------------------

maybe only a drafter
but the best user at this company!

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