Jump to content
katto01

vba get all objects properties

Recommended Posts

katto01

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

Share this post


Link to post
Share on other sites
BIGAL

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.

Share this post


Link to post
Share on other sites
katto01

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.

 

Share this post


Link to post
Share on other sites
BIGAL

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.

Share this post


Link to post
Share on other sites
SLW210

I have moved your thread to the .NET, ObjectARX & VBA Forum.

Share this post


Link to post
Share on other sites
katto01

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)

Share this post


Link to post
Share on other sites
katto01

Please? Something?

Share this post


Link to post
Share on other sites
maratovich

We need to spend a lot of time on this ...
There will be many conditions if ...
It's fast not done ...
We must quit our business ...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×