Jump to content

Properties Drawing (Filename and Path)???


Recommended Posts

Posted

Is there a way to use the drawing properties that inserts the filename and path to just do a part of the path and without any of the filename? For example my document (idw) is called 210999 and is located in c:\vault\210210 so if in the idw I specify the template to insert the drawing properties "filename and path" it does exactly that but what if I don't want the "c:\vault" part to show up and only want the 210210 part to show up?

 

Any ideas?

 

Running Autodesk Inventor 2010 Routed Systems w/ latest service packs.

Posted

Open up the drawing template file and goto the tree expand sheet1 and right click on the border and select edit definition.

This will take you into the border editor.

double click on the line of text that you want the proporties to be attached to and this will bring up the text editor (you may have to right click and select edit text).

 

Under the font there is a pulldown menu called "type". expand this and select where you would like the info to be extracted from. eg - "proporties-model"

The pulldown menu next to this will become active. select "Filename" from this dropdown then click on the button with the "x" and arrow pointing down. This will add the proportie to the line of text.

Exit, saving the changes as you go.

 

That should be you.

Posted

Thanks stevsmith the only problem is that pulls the whole filename. I want a variable that says to only grab part of the file location. So instead of it grabbing c:\vault\project\filename.idw I want it to just pull the "project" part of the string and exclude "c:\vault\ and the name of the file.

Posted

It shouldn't do, this option only lets you have the file name. The one below it takes the path & file name.

Make sure that there is no additional text in the box.

Posted

Just realised.

 

From the 2nd dropdown menu select "Part Number" not file name.

Posted

Just made a total fool of myself and noticed its not the partname your looking for but the project folder name.

Posted

You can do this with some variables with iLogic, but you will have to get that installed from the Subscription site and then learn it. As a workaround, create or map the Project Name to an iproperty and then create a text string with that iproperty\filename in the the text box.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...