Backup Script
home
Setup

Run Property Function

Description

The run property functions node can be used to run certain operations on blender data. This should generally be used over operators with the same functionality. This is explained in more detail here.
You can copy blender property functions from the blend data browser. In this example a new modifier is created on an object. The advantage over using an operator for this is that you get the modifier as an output on the node, meaning you can keep a reference to it or directly set properties after it is added.
A common example of a property function is also to get if an object is selected or not. There are select get and select set functions for this on objects which you can copy from the blend data browser.

Inputs

When you paste in a function two types of inputs will appear:
Indexable: The indexable inputs act the same way as they do on the Blender Property Node
Eye Icon: The sockets with the eye icon can be turned off. They will be off by default if they aren’t required. Here you can set the parameters for the function

Outputs

If the property function returns values these will be shown as outputs on the node.

Settings

Require Execute: This checkbox will remove the execute sockets from the node. If you’re only using a function to get a value you can turn this off, for example to use the node in the interface. If you’re doing something like creating a modifier you should have this on to connect it to other execute sockets which will only run the function once.
TOP