Jump to content

vba get all objects properties


katto01

Recommended Posts

Hello,

I have a huge file with numerous objects I need to work on.

I would like to have the list of all objects and as much information I can get (layer, bounding box, object type etc.)

I would like to generate this list in VBA.

Any ideas?


Thank you

Link to comment
Share on other sites

Can you explain more if you have 100 objects you have 100 items of information.

 

What do you plan to do with it ? 

 

The actual answer to your original question is the easy part.

Link to comment
Share on other sites

I need to identify various bodies that I cannot see in the GUI. The screen is very busy and I need to extract some objects and delete unnecessary ones, but it is too risky to do it with the GUI. I would like to do it with a script so I can have 100% control on what I am doing.

 

Link to comment
Share on other sites

Still need more info like

 

delete arcs that are green and on layer xxxx.

freeze lines that are blue lT=dashed 

 

and so on.

 

You can actually type on the command line  both of the actions 1 line per action. Once you know the syntax for ssget, dont need fancy coding,  yes you could do a dcl/form picking the combos.

Link to comment
Share on other sites

well this is the point: I do not know what is in the dwg. I need to know

 

you mean type at command line this?

 

"delete arcs that are green and on layer xxxx."

 

"freeze lines that are blue lT=dashed"

 

I need to create  a list of EVERYTHING that is in the drawing so I can handle it (move it to a 'dumpster layer", delete etc)

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