Page 1 of 1

Mayapy orbx exportAll error

Posted: Thu Jun 28, 2018 5:51 pm
by psultan
I am trying to export my scene to orbx using mayapy but I am getting the following error.
>>cmds.file("/tmp/out.orbx", force=True, type="OctaneRender scene", exportAll=True)
>>RuntimeError: Octane: Could not get active 3D-view camera: (kFailure): Object does not exist
Running the same python script with the gui open works properly.

Similarly, If I run the equivalent command using maya -batch I get the following error even though the octane plugin gets loaded.
>>RuntimeError: file <maya console> line 1: Invalid file type specified: OctaneRender scene
It seems like even though maya says OctanePlugin is loaded the translator does not get registered.

Re: Mayapy orbx exportAll error

Posted: Fri Jun 29, 2018 2:27 am
by BK
psultan wrote:I am trying to export my scene to orbx using mayapy but I am getting the following error.
>>cmds.file("/tmp/out.orbx", force=True, type="OctaneRender scene", exportAll=True)
>>RuntimeError: Octane: Could not get active 3D-view camera: (kFailure): Object does not exist
Running the same python script with the gui open works properly.

Similarly, If I run the equivalent command using maya -batch I get the following error even though the octane plugin gets loaded.
>>RuntimeError: file <maya console> line 1: Invalid file type specified: OctaneRender scene
It seems like even though maya says OctanePlugin is loaded the translator does not get registered.

Hi Psultan,

Thank you for reporting this.

We have created a ticket on our bug report system to investigate.

Cheers