Mayapy orbx exportAll error

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

Post Reply
psultan
Licensed Customer
Posts: 9
Joined: Mon Jan 30, 2017 8:16 pm

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.
BK
OctaneRender Team
Posts: 1454
Joined: Mon Oct 31, 2016 7:54 pm

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
Kind Regards

bk3d
Post Reply

Return to “Autodesk Maya”