Post #5514: Basically it is used like this:

πŸ“‹ Metadata

🏷️ Tags

scripting intermediate solved

  • Python Scripting
  • Poll method implementation
  • Node tree context handling

πŸ’¬ Content

Basically it is used like this:
image

The Poll method must β€œreturn” True or False.
Blender will only execute the operator if Poll is True, and ignore it if it is False.

# Other ui_type identifiers
'GeometryNodeTree'
'ShaderNodeTree'
'CompositorNodeTree'

❀️ 2 likes


πŸ”— View on Blender Artists