Jump to content

can attributes value save as the dwg file name ?


Recommended Posts

Posted (edited)

According to TagString

Is it possible to make attribute value of the dwg name?

 

(Sorry for bad english)

Edited by metozade
Posted

Why do you need to make it an attribute value? the dwg file name is for the whole drawing, right?

 

You can do this, by setting the default attribute text as an field, according to the picture below.

As fieldname, select Filename.

 

ATTDEF.png

Posted

I'm sorry I can not express my problem

I want to do the exact opposite...

 

for example:

 

in drawing attribute tag: "Drawingno" atrribute value: "MT-01-01"

drawing name: "drawing1"

 

I want to do

drawing name: "MT-01-01"

 

I think that it is possible?

thank you

Posted

If i understand you right, you want to display by drawing name: "MT-01-01", while the real name is "drawing1"?

I think, the only possibility is just make it an attribute with as default the filename and change it later if you want.

Posted

yes,

 

 

Sub saveas()

ThisDrawing.saveas ("block in attributes value")

End Sub

 

An example was funny

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