Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5837

Programmatic FBX Export Ignores extra flags?

$
0
0

Hi,

I’m setting up a script to export FBX files in a certain way.
However, I am not able to replicate the behavior of manual clicks with the script.

The following python code snippet:

import Rhino
fbxPath = r"C:\Temp\TestAscii.fbx";
fbxOptions = “ExportFileAs=Version7Ascii ExportNurbsObjectsAs=Mesh YUp=Yes”;
script = ‘_-ExportWithOrigin 0,0,0 "’ + fbxPath + ‘" ’ + fbxOptions + ’ _Enter _Enter’;
Rhino.RhinoApp.RunScript(script, True);

Does not generate an FBX file in ASCII format. How come?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5837

Latest Images

Trending Articles



Latest Images