MainNodeTrees(bpy_struct)

base class — bpy_struct

class bpy.types.MainNodeTrees(bpy_struct)

Collection of node trees

new(name, type)

Add a new node tree to the main database

Parameters:
  • name (string) – New name for the datablock.
  • type (enum in [‘SHADER’, ‘COMPOSITE’, ‘TEXTURE’]) – Type, The type of node_group to add
Returns:

New node tree datablock.

Return type:

NodeTree

remove(tree)

Remove a node tree from the current blendfile.

Parameters:tree (NodeTree, (never None)) – Node tree to remove.
tag(value)

tag

Parameters:value (boolean) – Value

Inherited Properties

Inherited Functions

References

Previous topic

MainMetaBalls(bpy_struct)

Next topic

MainObjects(bpy_struct)