Announcement

Collapse
No announcement yet.

Import Vray Proxy Via Mel or Python

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

  • Import Vray Proxy Via Mel or Python

    As subject above, struggling to find much info on this,
    I'm looking for a simple script to create the vray proxy loader then apply the meshes path, abc or vrmesh then choose the starting point of the hierarchy for abc,
    Cheers

  • #2
    Hello!
    We use the command "vrayCreateProxy" to export/import proxies. It could be executed both in MEL and Python.
    You could either go to https://docs.chaosgroup.com/display/...MeshthroughMEL
    or run the following python script for available options:
    Code:
    maya.cmds.vrayCreateProxy(help=True)
    And this is a simple example to import a proxy:
    Code:
    maya.cmds.vrayCreateProxy(node='meshName', existing=True, dir='D:/maya/projects/proxies/pCone1.vrmesh', createProxyNode=True)
    Iliyana Vladeva
    V-Ray for Maya developer

    Comment

    Working...
    X