Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IFRs on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic text 1

Status
Not open for further replies.

bbylls

Mechanical
Feb 11, 2011
163
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.
 
Replies continue below

Recommended for you

I wish there was, but there is nothing that i know of that will do what you need.
 
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.
 
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.
 
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.
 
 http://files.engineering.com/getfile.aspx?folder=46e31e4a-5655-46bb-ab1f-48c219f8e48d&file=assign_part_spec_attr.zip
Status
Not open for further replies.

Part and Inventory Search

Sponsor