Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Addition of file extension number to a drawing template

Status
Not open for further replies.

Devrix

Bioengineer
Sep 9, 2010
3
Hi all,

I am looking to add a bit of control to my Pro/E drawing files.

I am hoping to use the file extension .1, .2, .3 etc. that Pro/E adds to the end of a part file name e.g.:

tube.prt.1
tube.prt.2
tube.prt.3

I am trying to add a parameter to my drawing template that will identify which file I have created my drawing from.

I suppose it is a roundabout way of creating revision control.

Is there a parameter similar to &dwg_name that I can add to my drawing template?

Thanks for your time
Devrix
 
Replies continue below

Recommended for you

Since the drawing updates with the model, if there were a parameter as you discribe, it would also update with the model.
-AAFuni
 
Hi aafuni,

Thank you for your reply.

That is exactly my issue.

I would like my drawing to display the 'object version number' my drawing was created at so that I create a revision control. This number will automatically update depending on what object version number my drawing is at.

Do you know if this is possible?

Thanks again
 
Try Parameter &PTC_WM_VERSION, that should display the version of the model.
 
&PTC_WM_VERSION only works if you have a PDM product controlling your files.

Looking at the OP, it looks like the files are just on disk in some folder. Those sub-extensions are iterations, and not really revisions. Also, drawings will always pull the latest iteration of the model, so linking it to a parameter in the drawing is useless.

My suggestion if you aren't using a PDM system, is to put the revision in the file name, TUBE.A.prt. Then use relations to pull the revision to your drawing.



"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
 
Thanks for the advice dakeb and looslib,

You are correct losslib, we are not using a PDM system.

I will try your suggestion and see how I manage.

Thanks again for your help,

Devrix
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor