Post #2233: hi roaoao you help me whit a property menu to control collections a couple month

📋 Metadata

🏷️ Tags

popup-dialog property-menu intermediate unsolved

  • Property Editor
  • Popup Dialog Editor

💬 Content

hi roaoao you help me whit a property menu to control collections a couple months ago

and now it is no working properly in new blender version because it “disable” the collection dupli grups or dupli collections does not display. so im looking to modify the menu to just hide instead of “disable”

malbe dis help:

LayersProperty Getter:

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"]

LayersProperty Setter:

[setattr(col, "hide_viewport", not value & 1 << i) for i, col in enumerate(C.scene.collection.children)]

Layers
Layers2

thanks you nice addon


❤️ 1 likes


🔗 View on Blender Artists