cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Filter Out "Empty" Layers

mganzer
12-Amethyst

Filter Out "Empty" Layers

Is there any way to filter the layer tree so that only layers actually containing items will be displayed? We are using rule based layers and would like the layer tree to only display layers that have something on them. We don't want to hide the layers, just have them not shown in layer tree. There does not seem to be any filter for this built in. WF2 M260.

Thanks,

Mark Ganzer

1 REPLY 1
gkbeer
1-Visitor
(To:mganzer)

Yes it can be done.


1. in the layer tree select *[SHOW]>FIND>SEARCH*
2. in the layer search dialog set type to "*LAYER PROPERTIES*" and
choose "*CONTAINS ITEM ID*"
3. set "Contains Item Id" to be *> 0* (greater than zero)
4. pick* [ADD]*
5. pick *[SELECT ALL]* and* [CLOSE]*
6. back in the layer tree pick [SHOW] then *FILTER SELECTED*
7. to un-filter choose *[SHOW] *then "*UNFILTER ALL*"


Your layer tree will now only show layers that contain items.
I doubt this is intelligent. IE it won't update if a layer that didn't have
items suddenly gets one.

Glenn Beer





Announcements
Business Continuity with Creo: Learn more about it here.

Top Tags