Use the saveXMesh command:
saveXMesh
Flags:
-p -path String
-vo -vertsOnly
-ws -worldSpace
For example:
saveXMesh -p "c:/out/test_0001.xmesh"
Saves the currently selected node to c:/out/test_0000.xmesh.
Use the saveXMesh command:
saveXMesh
Flags:
-p -path String
-vo -vertsOnly
-ws -worldSpace
For example:
saveXMesh -p "c:/out/test_0001.xmesh"
Saves the currently selected node to c:/out/test_0000.xmesh.
Hi Paul
I just tried to save a XMesh from Maya for the first time. The export was fine, I was able to use it in my KrakatoaSR python file as a matte object. But the xmesh is rotated 90°, I think it’s beacuse the up axis is Y in Maya. Perhaps it is possible to read the Maya preferences which axis is defined as the up axis (Y or Z), or you could add a flag to the saveXMesh command.
Cheers
Timo