×
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

Importing expressions into a drawing specification?

Importing expressions into a drawing specification?

Importing expressions into a drawing specification?

(OP)
For several years we've been importing expressions (output from Excel) to drive our models. However, for those years we've had our drawings embedded in the same part files (Teamcenter context). Those drawings also referenced some of the expressions imported into the part file. Now we wish to use separate specification drawings, though still within the same Item revision, and importing the expressions (for multiple parts simultaneously) fails as I can't figure out how to tell NX what the part name is for the specification.
For a simple example, here's an expression file with two expressions, one for the part and one for the specification. The one for the block imports fine. It doesn't seem to need to know the specific revision one is working in. However, the portion that I need to go into the specification fails as it can't find the part (both the model and the specification are loaded in NX of course). I've tried several variations on the formatting of the specification name, but still no success. I'm trying to avoid having to import several separate expression files while making each specific part the work part. What would be the proper syntax for the specification name?

#--------------
!1234567-BLOCK
#--------------
(string)VENDORNAME="Vendor Name"

#--------------
!1234567-BLOCK:s:1234567-BLOCK-A-DWG
#--------------
(string)CUSTOMER="Customer Name" 

Windows 7-64 / Core-i7-4800MQ / 16GB RAM / Quadro K2100M
NX 10.0.2.6 / Teamcenter 10.1.3.2 / ANSYS 16.1

RE: Importing expressions into a drawing specification?

Try creating 'Interpart Expressions' to link expressions for one part file to another.

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

To an Engineer, the glass is twice as big as it needs to be.

RE: Importing expressions into a drawing specification?

(OP)
@JohnRBaker

I have done that with a few expressions, and could carry on with that approach, but Interpart Expressions can sometimes lead to other issues down the road, such as when parts are cloned or Saved As. Since there's not that many expressions we use in the drawing specification, I guess I'll carry on with Interpart Expressions. Just thought there'd be an easy way to distinguish between the UGMASTER dataset and the UGPART dataset when importing expressions.

Thanks John.

Drew

Windows 7-64 / Core-i7-4800MQ / 16GB RAM / Quadro K2100M
NX 10.0.2.6 / Teamcenter 10.1.3.2 / ANSYS 16.1

RE: Importing expressions into a drawing specification?

Perhaps attributes would serve you better. All the info could be added as attributes to the model file and the drawing would just reference the attributes.

www.nxjournaling.com

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