I have been trying command like ...nodes.new(type='BRDFVRayMtl') but it seams that there is no way to create new v-ray nodes into ntree bdancer
Announcement
Collapse
No announcement yet.
Using python, can I create v-ray nodes into node tree?
Collapse
X
-
You can see correct nodetypes in info window after creating nodes from add menu or looking node.bl_idname.
info window: bpy.ops.node.add_node(type="VRayNodeBRDFVRayMtl", use_transform=True)
newnode = ..nodes.new("VRayNodeBRDFVRayMtl")
print(node.active.bl_idname)Win7 Ultimate 64bit, GTX 970, Standalone version: V-Ray Next 4.30.03,
Comment