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.