FBXImportSetLockedAttribute -v [true|false]
 
 
 

This command is the scripting equivalent of the UI dialog box “Keep all locked” or “unlock all” option. Use this command when you import an FBX file that contains animation onto an object that has locked channels.

When using the UI, the FBX plug-in prompts you to either keep all the channels locked or unlock the locked channels, which imports the animation correctly. This had created problems for users who tried to do this without using the UI.

False

Unlocks all channels.

True

Channels remain locked.

Example code

FBXImportSetLockedAttribute -v False;FBXImportShowUI -v false;FBXImport -f "C:/myFile.fbx";