I'm trying to import FBX to apply its animations onto the rig already in the scene.
options = "targetTime=3;option=insert;match=string;selected=childrenToo;search=XXX;replace={};".format(prefix)
pm.mel.FBXImport(f=file_path,t=1,options=options)
File() works fine with this option. How can use this option with FBXImport? Thank you in advance.
Importing atom:
options = "targetTime=3;option=insert;match=string;selected=childrenToo;search=XXX;replace={};".format(prefix)
cmds.file(file_path, i=True, type="atomImport", options=options)
works fine.
Importing FBX:
options = "targetTime=3;option=insert;match=string;selected=childrenToo;search=XXX;replace={};".format(prefix)
pm.mel.FBXImport(f=file_path,t=1,options=options)
This doesn't.I'm trying to rename certain string when importing FBX.