You seem to have a fair idea of what I am trying to do………
1. Yes, I intend to have a different layer mask for each view in the drawing, not worried about the model layouts
2. Yes, I intend to create a category name based upon the view name, i.e. view FRONT@1 will be category FRONT-1 (the ‘@’ symbol is not valid in a category name)
3. I shall then push the layers currently visible in the view(s) into the relevant categories. I shall then delete the categories from any layers which contain no entities.
The basic structure I have thus far is:-
1. Scan the views & create layer categories based upon their name.
2. Delete categories from any layers which contain no geometry. (the Bit I cant get my head around at the moment)
3. Use ‘Visible in view’ to remove all of the geometry from the views.
4. Then, use ‘Visible in view’ again to display the layers defined by the relevant categories into the various views, i.e. layers in category FRONT-1 will be displayed in view FRONT@1 and so on.
Obviously the usual error checking (active part, etc……) is included.
It is my current intention to have a single programme and not use any subroutines as I only intend to use this programme myself (not for general user use as would encourage them to not follow the procedures)
I anticipate that most of the drawings should be able to be fixed doing this, leaving the odd few to be manually done, (They will all have to visually checked prior to being released anyway)
The whole process works manually, it’s just the layer ‘stripping’ bit I can’t seem to get to work.
Any help, advice or guidance is always appreciated.
Cheers in advance,
Pondering…………………..