Jump to content

using -attedit in .scr file to modify title block attribute values


shrekuntu

Recommended Posts

I'm trying to modify Title Block Attributes values using -attedit without being prompted for old value of the attribute. The only way I was able to make it work is as shown below if I specify old value (100). I'm trying to write an external script (.scr) which will be specified upon draftsight.exe startup, open the drawing, modify title block attributes, save and exit without human interaction. The script does not know the old value, that's why i'm trying to avoid it. I'm using draftsight.

 

: -EDITBLOCKATTRIBUTE Default: Yes

Confirm: Edit block attributes one at a time?

Specify Yes or No» n

Performing global editing of block attribute values.

Default: Yes

Confirm: Edit only attributes currently visible?

Specify Yes or No» n

Default: *

Options: * to select all blocks or

Specify block(s)» MY_TTL_BLK5

Default: *

Options: * to select all attributes or

Specify attribute name(s)» DRAWINGNO

Default: *

Options: * to select all attribute values or

Specify attribute value» 100

1 block attributes selected.

Specify old text string» 100

Specify new text string» 101

 

 

Thank you.

Link to comment
Share on other sites

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