Delete useless information

Delete useless information

Anonymous
Not applicable
322 Views
1 Reply
Message 1 of 2

Delete useless information

Anonymous
Not applicable
Use VB or VBA,how to delete useless information,reduce the storage space.In CAD,we use command "Purge",but not completely,some layer,there is not element to select,but the layer can not to delete,so how to do it?thanks 🙂
0 Likes
323 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
1. "Empty layer can't be deleted": When a block is defined, it's components can be placed on on layer or on different layers. if block components are placed on different layers, non of these layers can be deleted until the block occurances is completely clearned from a drawing. Check your blocks one of them may use more one layers.

2. " VB/VBA to do the job": have a routine to do the follow:
a. gothrouth the block definitions and create a SelectionSet
b. Exaim each block definition and it's components' layers. If a component's layer is different from the one the block resides, put information in a listbox.

Hope it can help

Eddy
0 Likes