Jump to content

Find Attribute, Edit repeating


mjab8

Recommended Posts

I in a process of updating attributes values. I need to FIND and zoom highlighted to edit the attribute. However I got to close Find/Replace dialog to update the attribute. I am not using the Replace All coz the attribute to edit are different from each one. Is there a way Find/Replace dialog remain, I can zoom to highlighted and edit the attribute. After, I can come back to the dialog, select another find in the previous list to zoom to and repeat my editing.

 

Hope someone have a lisp to do this.

 

Appreciate any help.

 

Cheers

Link to comment
Share on other sites

I in a process of updating attributes values. I need to FIND and zoom highlighted to edit the attribute. However I got to close Find/Replace dialog to update the attribute. I am not using the Replace All coz the attribute to edit are different from each one. Is there a way Find/Replace dialog remain, I can zoom to highlighted and edit the attribute. After, I can come back to the dialog, select another find in the previous list to zoom to and repeat my editing.

 

Hope someone have a lisp to do this.

 

Appreciate any help.

 

Cheers

 

 

have you tried Lee's Attribute Modification Suite?

http://www.lee-mac.com/attmodsuite.html

Link to comment
Share on other sites

I think you can do all you want with FIND command... When you want to edit single attribute that's highlighted you have option Replace, so no need to click Replace All... When you finish cycling through all attributes and you wanted previous one, just press button - entire drawing or choose block you wish and new cycle will be invoked again... Then cycle and replace one that was from previous selections... No need for FIND to go reverse cycling... If you really want opposite search, you'll need to redefine your block/s - do EXPLODE then invoke BLOCK command specify all parameters and when you again select entities type (xxx) and then at the end click Yes to redefine block...

 

(defun xxx ( / s ss i )
 (setq s (ssadd))
 (setq ss (ssget "_P"))
 (repeat (setq i (sslength ss))
   (ssadd (ssname ss (setq i (1- i))) s)
 )
 s
)

Link to comment
Share on other sites

How about one of these? Also both by Lee Mac.

You don't even need to open the drawings, either of these will process a whole directory in one go, if you want, you'll be done in no time?

Generates a spreadsheet realtime, chronicling what it has done, or has found, which you may want to process.

 

http://www.lee-mac.com/bfind.html

 

http://www.lee-mac.com/batte.html

 

Thanks Lee! :beer:

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