Jump to content

how to find a block handle in a drawing


Jaap Marchal

Recommended Posts

No sorry that is not what i`m searching for. I`m using Autoad electrical and do a export to Excel. Some of the blocks missing attribute data. Autocad generates handles of all the used blocks. So i need a lisp where i can give in a handle and Autocad zooms into to that block.

 

Mike

Link to comment
Share on other sites

I suppose the simplest would be something like:

 

(defun c:zoomhandle ( / e )

 (if (setq e (handent (getstring "\nSpecify Handle: ")))
   (command "_.zoom" "_O" e "")
 )

 (princ)
)

 

In the mean time, use AfraLISP to learn LISP.

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