Jump to content

Macro to edit text attributes?


sinnerboy

Recommended Posts

I am using LT 2009 . I have placed a block with an attribute to number-tag windows in elevation . Some windows have been removed - and I have to renumber a lot of block tags .

 

Is there a macro which would allow me to select the block tag and edit the number

i.e. - click on the block and it adjusts the text-number by -2 ( W27 becomes W25 ) .

Link to comment
Share on other sites

There are a number of USER variables that can be stored in the drawing USERI1 is an integer USER1 is a real you may perhaps with diesel be able to set a number then recall the user variable and add 1 and put that value into the attribute, within a macro.

 

"setvar useri1 -2"

 

Don't use LT sorry

Link to comment
Share on other sites

Thanks Bigal - actually I do have access also to a (full) AutoCAD 2009 workstation . So is there a lisp which would allow me to select the block tag and edit the number

i.e. - click on the block and it adjusts a user determined text-number . Example -2 so W27 becomes W25 .

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