Muting nodes by type

If it is necessary to exclude all nodes of a certain type from the shader calculation, they can be muted by their type. The muted node remains in the node tree, retaining all links, but doesn’t affect the final result.

Manually this can be done by highlighting the desired node and pressing the “m” keycode.

All nodes of the required type in all materials can be muted with the Python API using the following code:

It loops through all the materials in the scene and mutes the “Bevel” node in each material.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comment
Inline Feedbacks
View all comments