×
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

Formula inside Parts List cell

Formula inside Parts List cell

Formula inside Parts List cell

(OP)
I'm using NX Routing Electrical tool and have assigned WEIGHT per unit length attribute(characteristic) for the wire stock data in the .ptb file. While generating BOM, i'm trying to calculate the Weight for the wire by setting <W$=@WEIGHT>*<W$=@length> as Default text inside a BOM Column.Also, i've enabled "Evaluate cell as Formula" option. But it doesn't seem to work.Please suggest a solution.

RE: Formula inside Parts List cell

When you use those schemes to get the weight and length of items, the results are 'strings' not numerical values. You can't multiply two strings as if they were two numbers.

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: Formula inside Parts List cell

(OP)
Hi John,
Thanks for replying. But i tried <W$=@length>*<W$=@length> and it works. i.e., it returns a number. Also, i set two number attributes var1 & var2 to a component and in the part list tried <W$=@var1>*<W$=@var2> and it returns the product.So, I think it doesn't work only for the wire stock components.Sorry if i'm wrong....
As you said, if strings are returned, is there any function to convert it to a numeric value inside parts list....

RE: Formula inside Parts List cell

It might just be the weight value since that is not based on reading the numerical value of an expression nor an attribute which has been explicitly declared as being a number.

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.

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