Hi when I import my fbx file Maya is opening FBX file dialog is there is any method I can import this fbx direct without opening that FBX file dialog.
string $Nut_01 = (`internalVar -userPrefDir`) + "icons/3DG_Nut/Mesh/Bolt_01.fbx";
file -import $Nut_01;
Replies
Here's the individual flags:
https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/Maya-DataExchange/files/GUID-699CDF74-3D64-44B0-967E-7427DF800290-htm.html
Or to use a preset, do File>Import[], set your options and save a preset from the button at the bottom. FBXLoadImportPresetFile -f "X:/path/to/preset.fbxexportpreset"; But then you'll need some extra steps if you want to distribute your script.