📋 Metadata

💬 Content

This might be unsolicited advice, but I’d like to share my experience struggling with customizing ZenSets.

When trying to create a new group, it was cumbersome to switch between Sets and Parts in the N-panel. So, I decided to create a command that would simultaneously switch between Sets and Parts and create a new group. However, I was having trouble because it didn’t work well when executing the commands in order. I contacted the developer of ZenSets, and they told me that there was an action that needed to be completed after switching between Sets and Parts. They said I needed to add “creating a new group” to Blender’s queue. I learned from them how to use bpy.app.timers.register(func) to perform delayed processing.

However, PME was very advanced and had a simpler method for delayed processing. The method is an operator called bpy.ops.pme.timeout(cmd='Python Code')

By executing the following code in the command tab, you can create groups directly in Sets or Parts. Please give it a try.

C.scene.zen_sets_unique_mode = 'SETS'; O.pme.timeout(cmd='O.zsts.new_group()')



C.scene.zen_sets_unique_mode = 'PARTS'; O.pme.timeout(cmd='O.zsts.new_group()')

Pasted image 20230507170239Pasted image 20230507170239733×530 183 KB


❤️ 1 likes


🔗 View on Blender Artists