Jump to content

Showing a location for saved drawing on Attributes


Recommended Posts

Posted

Hello,

I'm pretty sure this has probably been asked before, however I cannot locate it!

I want to set up an attribute that automatically shows the location of the saved drawing.

An example is shown in the attached file.

Many thanks,

Mark

Posted

Sorry, the attached image is here.

Filepathsave.jpg

Posted

a field will do this. Probably best to include this in your drawing blank as a piece of tEXT or MTEXT. Right click while in your text editor and select Insert Field. In the "All" or "Documents" category is the Filename object. This has options for including path & extension.

 

Having typed all that I notice you are using 2005 - I wasn't aware of fields until after that release in which case you may have to use a diesel expression - which I am not too familiar with.

Posted

Its AutoCAD 2009, I need to update that bit.

 

Will give it a go.

 

Many thanks,

Mark

Posted
a field will do this. Probably best to include this in your drawing blank as a piece of tEXT or MTEXT. Right click while in your text editor and select Insert Field. In the "All" or "Documents" category is the Filename object. This has options for including path & extension.

 

Having typed all that I notice you are using 2005 - I wasn't aware of fields until after that release in which case you may have to use a diesel expression - which I am not too familiar with.

 

Worked a treat, thanks very much!

Posted

glad to have helped. I had quite a struggle to get that hard coded into our latest drawing blank but I have won (so far).

Posted

Is it possible to make this cover 2 lines?

 

Thanks,

Mark

Posted

not sure. I assume an MTEXT box will allow wrapping but I don't know if it will break words or just wrap at spaces.

 

I don't think there is an option without looking.

Posted

Altough it is in an MTEXT format, it is not possible to have text wrapping, just a long line with the file path.

Posted

Update, created the filed.

Then created a field.

 

Copied the field into the MTEXT and you are able to wrap it so that it covers more than one line.

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...