Jump to content
sinnerboy

Macro to edit text attributes?

Recommended Posts

sinnerboy

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

Share this post


Link to post
Share on other sites
BIGAL

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

Share this post


Link to post
Share on other sites
sinnerboy

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 .

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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