×
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

Automatic text

Automatic text

Automatic text

(OP)
Is there a way to use automatic text to get the entire path of the location of a part file?
I would like to put it in the drawing so people know where to find the file.
I use <W@$SH_PART_NAME> for the name, but can find nothing for the path.
Could possibly use an expression, but I don't know the syntax, or if that is even possible/available.

RE: Automatic text

I wish there was, but there is nothing that i know of that will do what you need.

RE: Automatic text

Automatic text, particularly the one which you're referencing, is limited to unambiguous bits of data which are valid irrespective of where the actually part file may reside on your system (which is extra complicated when working in Teamcenter).

Now if this is something that you wish to automate in some manner, a simple program could be written which would extract this data from the OS and create say an Attribute which could be linked to a note on your Drawing, in essence creating what you wish. Granted, you'd have to rerun the program to update that note if the file is ever moved to a different location, but even this could be automated by running this program every time a file is opened.

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: Automatic text

(OP)
Thanks for the help, but I am not a programmer.
I'll just use the explorer to get the path and copy & paste.
Thanks again.

RE: Automatic text

If you have a GRIP execute license, attached is a program which will create a Part Attribute with a value equal to the full 'file spec' of the current work part open in your session.

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

White Paper: Industrial Control Basics: Contactors
A contactor is an electrical device used for switching an electrical circuit on or off. Considered to be a special type of relay, contactors are used in applications with higher current carrying capacity, while relays are used for lower current applications. Download Now
Research Report: State of IoT Adoption in Product Development 2019
This research report, based on a survey of 234 product development professionals, examines the current state of Internet of Things (IoT) adoption by product design teams, its perceived importance, and what features and capabilities teams consider important when making decision about adding IoT functionality to their products. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close