MarkCalvert Posted April 23, 2010 Posted April 23, 2010 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 Quote
MarkCalvert Posted April 23, 2010 Author Posted April 23, 2010 Sorry, the attached image is here. Quote
dbroada Posted April 23, 2010 Posted April 23, 2010 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. Quote
MarkCalvert Posted April 23, 2010 Author Posted April 23, 2010 Its AutoCAD 2009, I need to update that bit. Will give it a go. Many thanks, Mark Quote
MarkCalvert Posted April 23, 2010 Author Posted April 23, 2010 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! Quote
dbroada Posted April 23, 2010 Posted April 23, 2010 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). Quote
MarkCalvert Posted April 23, 2010 Author Posted April 23, 2010 Is it possible to make this cover 2 lines? Thanks, Mark Quote
dbroada Posted April 23, 2010 Posted April 23, 2010 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. Quote
MarkCalvert Posted April 23, 2010 Author Posted April 23, 2010 Altough it is in an MTEXT format, it is not possible to have text wrapping, just a long line with the file path. Quote
MarkCalvert Posted April 23, 2010 Author Posted April 23, 2010 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. Quote
Recommended Posts
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.