Mayapy orbx exportAll error

Forums: Mayapy orbx exportAll error
Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

Mayapy orbx exportAll error

Postby psultan » Thu Jun 28, 2018 5:51 pm

psultan Thu Jun 28, 2018 5:51 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.
psultan
Licensed Customer
Licensed Customer
 
Posts: 9
Joined: Mon Jan 30, 2017 8:16 pm

Re: Mayapy orbx exportAll error

Postby BK » Fri Jun 29, 2018 2:27 am

BK Fri Jun 29, 2018 2:27 am
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
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1320
Joined: Mon Oct 31, 2016 7:54 pm

Return to Autodesk Maya


Who is online

Users browsing this forum: No registered users and 18 guests

Sat Apr 20, 2024 3:43 am [ UTC ]