Post #4757: Okay, This code is indeed a bit complicated, I’ll use it first and study it slow

📋 Metadata

  • Author: lee_blues
  • Date: 2023-06-17 03:26:19
  • Type: discussion
  • Quality Score: 5/10
  • Reply to: post_04754

🏷️ Tags

python-scripting intermediate unsolved

  • Python Scripting
  • Macro Editor
  • Context Globals

💬 Content

Okay, This code is indeed a bit complicated, I’ll use it first and study it slowly, and ask you for advice if necessary,and the context that both collections are hidden does not appear in my use,In my use, one of the two collections must be displayed or both.So this part of the code is omitted.

Pluglug:

In this case, I would create a general-purpose function to switch the display status of the two collections and add it to pme.context.globals.

Is this content the same plugin you posted below? Then for me and other idle time, we must study it more properly.

image


🔗 View on Blender Artists