katto01 Posted September 19, 2018 Share Posted September 19, 2018 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 Quote Link to comment Share on other sites More sharing options...
BIGAL Posted September 20, 2018 Share Posted September 20, 2018 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. Quote Link to comment Share on other sites More sharing options...
katto01 Posted September 20, 2018 Author Share Posted September 20, 2018 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. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted September 21, 2018 Share Posted September 21, 2018 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. Quote Link to comment Share on other sites More sharing options...
SLW210 Posted September 21, 2018 Share Posted September 21, 2018 I have moved your thread to the .NET, ObjectARX & VBA Forum. Quote Link to comment Share on other sites More sharing options...
katto01 Posted September 21, 2018 Author Share Posted September 21, 2018 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) Quote Link to comment Share on other sites More sharing options...
katto01 Posted September 24, 2018 Author Share Posted September 24, 2018 Please? Something? Quote Link to comment Share on other sites More sharing options...
maratovich Posted September 24, 2018 Share Posted September 24, 2018 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 ... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.