Announcement

Collapse
No announcement yet.

Can I use Maya's file path manager with V-Ray nodes?

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

  • Can I use Maya's file path manager with V-Ray nodes?

    I'm trying to figure out whether I can use the file path manager (Maya 2014) with V-Ray (2.40.01) nodes, e.g. the VRayMesh node.

    I'm getting an error when trying to add the node type (so that the file path manager can find it), so I'm guessing this is a dead end:
    Code:
    cmds.filePathEditor(registerType="VRayMesh.fileName", temporary=True)
    # Error: RuntimeError: filePathEditor: Attribute 'VRayMesh.fileName' is invalid or is not designated 'usedAsFilename'. #
    This is what the docs say:
    Currently, the attributes specified through this flag must have the "usedAsFileName" property. Supported nodes are "reference" and plug-in nodes. For example: "brush.flowerImage" or "reference" can be used as value for this flag.
    ...hm, does this mean that if this property got added to the V-Ray plug-in nodes (by the developers at Chaosgroup) which contain a file path (VRayMesh, VRayLightIESShape etc...) ...it could work?

    Here's the docs on filePathEditor: http://download.autodesk.com/global/...athEditor.html
    Last edited by Fredrik Averpil; 20-11-2013, 10:25 AM. Reason: Added link to docs
    Best Regards,
    Fredrik
Working...
X