Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Overview

...

 The .vrmesh files and proxy objects can be created through the vrayCreateProxy command. Using the command with different flags allows you to create, export, import, etc. the proxyexport geometry to proxy files and load files to V-Ray Proxy objects.

UI Text Box
typeinfo

You can use the vrayCreateProxy command with both MEL and Python. For the purpose of the documentation, the examples below are written in MEL. 

UI Text Box
typetip

For a list of all available arguments, run the command with the -help flag in the Maya Script Editor: vrayCreateProxy -help. 


Syntax

...

 

The various options are described below:

...

Code Block
vrayCreateProxy -node $nodename -existing -dir $path.vrmesh -createProxyNode

 

alembic example:

Code Block
vrayCreateProxy -node $nodename  -existing -dir $path.abc -createProxyNode

...

This command creates a proxy node and points it to an existing file (.vrmesh or .abc). Please note that "$path.vrmesh/abc" is the full path of the file. $nodename is the name of the new proxy node in the Maya scene.