📋 Metadata
- Author: Sebastian_cg
- Date: 2019-04-30 12:37:13
- Type:
answer - Reply to: post_02236
💬 Content
it is a popup dialog whit one button
the button is set to Menu mode and call “LayersProperty” which is a Pie Menu Property
LayersProperty
Value Is
ls = locals(); ls.update(ret=0); [ls.update(ret=ls[“ret”] | 1 << i) for i, col in enumerate(C.scene.collection.children) if not col.hide_viewport]; return ls[“ret”]
Value
[setattr(col, “hide_viewport”, not value & 1 << i) for i, col in enumerate(C.scene.collection.children)]
Property Type = Enum
Multi-Select = Yes
Horizontal Layout = Yes