Jump to content
katto01

VBA delete object

Recommended Posts

katto01

Hello,

I have a drawing with about 15000 objects. I would like to delete all objects with a volume smaller than Vx.

I cannot see all objects,  I can access them through VBA.

I generated a list of objects and extracted the handle and the maximal dimensions. Therefore, I know by handle which object I want to delete.

What is the VBA command to delete an object defined by its handle?

If this approach cannot be implemented, please suggest alternatives

 

Thank you

Share this post


Link to post
Share on other sites
BIGAL

Do you use the selection set method then  go through all of them and why not just delete the entity that your checking if <Vx no need to save a list to erase.

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