muck Posted April 8, 2009 Posted April 8, 2009 Does anyone have a program that can delete a layer be from a complex drawing. I think this would take several steps. First I think a person would have to move the entities form the layer they are going to delete to a different layer(Say from E1 to E4). I think they would have to step thru all the model/paper spaces to make conversions. Is there a way to do this? I guess the program would have to convert block references also. Does anyone have a way or sample code of this? Thank you, Quote
borgunit Posted April 8, 2009 Posted April 8, 2009 We have done things like this before. You would need to cycle through every object in the blocks collection. The collection would include modelspace and its objects, then onto all blocks. This captures almost all entities. A few other objects to check are invisible ents, empty strings, empty blocks (we delete those first usually). Quote
muck Posted April 8, 2009 Author Posted April 8, 2009 Is there any information on how to go thru all the spaces, block etc collections? Thank you, Quote
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.