<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: import and export options in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/7059509#M11953</link>
    <description>&lt;P&gt;Hi Craig&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's actually what I was trying to explain, I don't think there is any documentation unless the individual developer has written some specifically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only way I've been able to deduce the options settable in an undocumented file translator (Such as the OBJ one for example) is by doing something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Create some objects in your scene&lt;/P&gt;
&lt;P&gt;2) File &amp;gt; Export All &amp;gt; [Options]&lt;/P&gt;
&lt;P&gt;3) In the export settings you should see a section called "File Type Specific Options".&lt;/P&gt;
&lt;P&gt;4) Perform the actual export&lt;/P&gt;
&lt;P&gt;5) Open the Window &amp;gt; General Editors &amp;gt; Script Editor&lt;/P&gt;
&lt;P&gt;6) Look for the export command which was called in the script history. You should see the options string in there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example the following setup:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="options.jpg" style="width: 455px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/352257i1A0607FD676E8FE7/image-dimensions/455x373?v=v2" width="455" height="373" role="button" title="options.jpg" alt="options.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Resulted in this command to be called&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;file -force -options "groups=1;ptgroups=1;materials=1;smoothing=1;normals=1" -type "OBJexport" -pr -ea "C:/test.obj";&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So we can see the options used were:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;groups=1
ptgroups=1
materials=1
smoothing=1
normals=1&lt;/PRE&gt;
&lt;P&gt;And by cross referencing those options with the UI we saw earlier we can quite easily figure out the options which are available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can do exactly the same for imports too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I said in my last post, there may be a better way to do this, but I don't know it. Perhaps someone else could post here if they do. But I have always been able to work with the above method anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2017 19:42:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-03T19:42:30Z</dc:date>
    <item>
      <title>import and export options</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/7055947#M11949</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway to set the import options or export options for any file format (mb, fbx, obj, etc) through pymel or python. &amp;nbsp;The only commands I have found are using mel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/Maya/files/GUID-699CDF74-3D64-44B0-967E-7427DF800290-htm.html" target="_blank"&gt;https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/Maya/files/GUID-699CDF74-3D64-44B0-967E-7427DF800290-htm.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/Maya/files/GUID-6CCE943A-2ED4-4CEE-96D4-9CB19C28F4E0-htm.html" target="_blank"&gt;https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/Maya/files/GUID-6CCE943A-2ED4-4CEE-96D4-9CB19C28F4E0-htm.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that i can essentially do this - (example) -&lt;/P&gt;&lt;P&gt;pm.mel.FBXExportLights(v=False)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but just wondering if this is the only way to set these options in a script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also if I am using pm.openFile() for anything (mb, fbx, obj) the import options would not apply correct? &amp;nbsp;I would need to use the import command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 16:56:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/7055947#M11949</guid>
      <dc:creator>Craig_Lamorte</dc:creator>
      <dc:date>2017-05-02T16:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: import and export options</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/7056573#M11950</link>
      <description>&lt;P&gt;forgot to say that I could only find those import/export options for FBX, are there commands for setting import/export for other file formats like OBJ?&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 19:59:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/7056573#M11950</guid>
      <dc:creator>Craig_Lamorte</dc:creator>
      <dc:date>2017-05-02T19:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: import and export options</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/7056815#M11951</link>
      <description>&lt;P&gt;Hi Craig&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are a couple of ways that Maya deals with import/export. The most common is that a developer writes a file translator which allows either import or export (or both) operations of a particular file format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example if you look in your &lt;STRONG&gt;Windows &amp;gt; Settings/Preferences &amp;gt; Plug-in Manager&lt;/STRONG&gt; you should see a plug-in called &lt;STRONG&gt;OBJexport.mll&lt;/STRONG&gt; which is the file translator for Obj files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;File translators take an options string which contains a semi-colon delimited list of arguments which the translator will parse and use in the subsequent import/export operation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So for example if I wanted to import an obj file and set the options I could do this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;// Import the obj file and set "MultipleObjects" to false
file -import -options "mo=0" -pr "C:/MyObject.obj";

// Import the obj and set "Multiple Objects" to true and "Legacy vertex ordering" enabled
file -import -options "mo=1;lo=1" -pr "C:/MyObject.obj";&lt;/PRE&gt;
&lt;P&gt;The other method often used is to create a command which exposes a bunch of flags like a normal MEL command. This command will probably still call a file translator in the background, but the way you interface with it is via a command. The FBX import/export system works in this way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see this by loading the plug-in manager again and clicking the small (i) button next to fbxmaya.mll. In the list you will see a load of commands and also a load of translators.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the first example, figuring out the options strings is the hardest part of this process, as there doesn't seem to be a way to access the options anywhere in an info pane or suchlike apart from the actual import/export window itself. Maybe someone else can offer a suggestion about how to find out the options. Anyway, the way I do it is to simply set the options in the UI and perform the import or export in Maya. After that I simply look command which Maya called in the script window and get the options from that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can easily reproduce the above code in python like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;import maya.cmds as cmds
cmds.file("C:/MyObject.obj", i=True, options="mo=1;lo=1", pr=True)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the FBX method, those two links which you provided are the documentation for the list of flags which you are allowed to set. You can just call those commands via python as you would any other python command. Other command-based file translators should provide their own documentation about the available options they support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway I hope that helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 21:25:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/7056815#M11951</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-02T21:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: import and export options</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/7058760#M11952</link>
      <description>&lt;P&gt;Thanks! that helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try looking for documentation for the options you can use for the OBJ translator but I could not find anything. &amp;nbsp;Could you point me to where i can find documentation on the options i can use for OBJexporter?&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 15:38:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/7058760#M11952</guid>
      <dc:creator>Craig_Lamorte</dc:creator>
      <dc:date>2017-05-03T15:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: import and export options</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/7059509#M11953</link>
      <description>&lt;P&gt;Hi Craig&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's actually what I was trying to explain, I don't think there is any documentation unless the individual developer has written some specifically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only way I've been able to deduce the options settable in an undocumented file translator (Such as the OBJ one for example) is by doing something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Create some objects in your scene&lt;/P&gt;
&lt;P&gt;2) File &amp;gt; Export All &amp;gt; [Options]&lt;/P&gt;
&lt;P&gt;3) In the export settings you should see a section called "File Type Specific Options".&lt;/P&gt;
&lt;P&gt;4) Perform the actual export&lt;/P&gt;
&lt;P&gt;5) Open the Window &amp;gt; General Editors &amp;gt; Script Editor&lt;/P&gt;
&lt;P&gt;6) Look for the export command which was called in the script history. You should see the options string in there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example the following setup:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="options.jpg" style="width: 455px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/352257i1A0607FD676E8FE7/image-dimensions/455x373?v=v2" width="455" height="373" role="button" title="options.jpg" alt="options.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Resulted in this command to be called&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;file -force -options "groups=1;ptgroups=1;materials=1;smoothing=1;normals=1" -type "OBJexport" -pr -ea "C:/test.obj";&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So we can see the options used were:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;groups=1
ptgroups=1
materials=1
smoothing=1
normals=1&lt;/PRE&gt;
&lt;P&gt;And by cross referencing those options with the UI we saw earlier we can quite easily figure out the options which are available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can do exactly the same for imports too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I said in my last post, there may be a better way to do this, but I don't know it. Perhaps someone else could post here if they do. But I have always been able to work with the above method anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 19:42:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/7059509#M11953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-03T19:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: import and export options</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/7059583#M11954</link>
      <description>&lt;P&gt;Ohh got it! &amp;nbsp;That's exactly what i needed to know.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 20:03:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/7059583#M11954</guid>
      <dc:creator>Craig_Lamorte</dc:creator>
      <dc:date>2017-05-03T20:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: import and export options</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/8936502#M11955</link>
      <description>&lt;P&gt;I am trying to use python or pymel to export fbx file in maya. After getting this mel script for fbx exporting, how can I transfer them to python or pymel so that I can use it in my scripted tool? Thank you!&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi Craig&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's actually what I was trying to explain, I don't think there is any documentation unless the individual developer has written some specifically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only way I've been able to deduce the options settable in an undocumented file translator (Such as the OBJ one for example) is by doing something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Create some objects in your scene&lt;/P&gt;&lt;P&gt;2) File &amp;gt; Export All &amp;gt; [Options]&lt;/P&gt;&lt;P&gt;3) In the export settings you should see a section called "File Type Specific Options".&lt;/P&gt;&lt;P&gt;4) Perform the actual export&lt;/P&gt;&lt;P&gt;5) Open the Window &amp;gt; General Editors &amp;gt; Script Editor&lt;/P&gt;&lt;P&gt;6) Look for the export command which was called in the script history. You should see the options string in there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example the following setup:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="options.jpg" style="width: 455px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/352257i1A0607FD676E8FE7/image-dimensions/455x373?v=v2" width="455" height="373" role="button" title="options.jpg" alt="options.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Resulted in this command to be called&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;file -force -options "groups=1;ptgroups=1;materials=1;smoothing=1;normals=1" -type "OBJexport" -pr -ea "C:/test.obj";&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So we can see the options used were:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;groups=1
ptgroups=1
materials=1
smoothing=1
normals=1&lt;/PRE&gt;&lt;P&gt;And by cross referencing those options with the UI we saw earlier we can quite easily figure out the options which are available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do exactly the same for imports too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I said in my last post, there may be a better way to do this, but I don't know it. Perhaps someone else could post here if they do. But I have always been able to work with the above method anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi Craig&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's actually what I was trying to explain, I don't think there is any documentation unless the individual developer has written some specifically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only way I've been able to deduce the options settable in an undocumented file translator (Such as the OBJ one for example) is by doing something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Create some objects in your scene&lt;/P&gt;&lt;P&gt;2) File &amp;gt; Export All &amp;gt; [Options]&lt;/P&gt;&lt;P&gt;3) In the export settings you should see a section called "File Type Specific Options".&lt;/P&gt;&lt;P&gt;4) Perform the actual export&lt;/P&gt;&lt;P&gt;5) Open the Window &amp;gt; General Editors &amp;gt; Script Editor&lt;/P&gt;&lt;P&gt;6) Look for the export command which was called in the script history. You should see the options string in there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example the following setup:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="options.jpg" style="width: 455px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/352257i1A0607FD676E8FE7/image-dimensions/455x373?v=v2" width="455" height="373" role="button" title="options.jpg" alt="options.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Resulted in this command to be called&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;file -force -options "groups=1;ptgroups=1;materials=1;smoothing=1;normals=1" -type "OBJexport" -pr -ea "C:/test.obj";&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So we can see the options used were:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;groups=1
ptgroups=1
materials=1
smoothing=1
normals=1&lt;/PRE&gt;&lt;P&gt;And by cross referencing those options with the UI we saw earlier we can quite easily figure out the options which are available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do exactly the same for imports too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I said in my last post, there may be a better way to do this, but I don't know it. Perhaps someone else could post here if they do. But I have always been able to work with the above method anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 15:03:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/import-and-export-options/m-p/8936502#M11955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-29T15:03:04Z</dc:date>
    </item>
  </channel>
</rss>

