Announcement

Collapse
No announcement yet.

Using python, can I create v-ray nodes into node tree?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using python, can I create v-ray nodes into node tree?

    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

  • #2
    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


    • #3
      Thanks Juha. Already forgot how to use blender 2.79....and maybe that's a good thing

      Comment

      Working...
      X