Hi,
I'm using vrayCreateProxy (MEL wrapped in Python) and I provide the node name as well as the filepath when executing this command:
A couple of problems I have run into:
- If I provide -node "myProxy1", a new node called "myProxy11" will be created (even if myProxy1 does not already exist in the scene). This feels like a bug to me.
- There does not seem to be any way of retrieving the name of the proxy node which gets created from the command (or does it?) - since that node name may have been taken already. <---- SCRATCH THAT... the object is selected after creation... so you can figure out its name!
I'm using vrayCreateProxy (MEL wrapped in Python) and I provide the node name as well as the filepath when executing this command:
Code:
response = mel.eval('vrayCreateProxy -dir "'+DATA_DIR+'" -fname "'+ vrmesh_filename +'" -overwrite -ignoreHiddenObjects -createProxyNode -node "'+ proxy_node_name + '" -exportType 1')
- If I provide -node "myProxy1", a new node called "myProxy11" will be created (even if myProxy1 does not already exist in the scene). This feels like a bug to me.
- There does not seem to be any way of retrieving the name of the proxy node which gets created from the command (or does it?) - since that node name may have been taken already. <---- SCRATCH THAT... the object is selected after creation... so you can figure out its name!