muck Posted April 8, 2009 Share 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 Link to comment Share on other sites More sharing options...
borgunit Posted April 8, 2009 Share 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 Link to comment Share on other sites More sharing options...
muck Posted April 8, 2009 Author Share Posted April 8, 2009 Is there any information on how to go thru all the spaces, block etc collections? Thank you, Quote Link to comment Share on other sites More sharing options...
muck Posted April 8, 2009 Author Share Posted April 8, 2009 I guess a purge all would not work? 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.