Faceware Retargeter for Maya: MEL Commands

 

 

ftiRetarget - Retargets a Pose Group and Frame Range.

Usage: 

// Arguments: Pose Group, Frame Range, Autosolve On or Off (Boolean), Use Shared Poses when Retargeting (Boolean)
Example: ftiRetarget "Mouth" "All Frames" -as 0 -sp 1;

 

ftiOpenPerformance - Loads a performance in Retargeter.

Usage:

// FWR File, XML File, Options On or Off (Boolean)
Example: ftiOpenPerformance "C:/PerformanceFile.fwr" "C:/CharacterFile.xml" -fr 1 -pr 1 -a 0 -v 0 -as 1;

 

Optional Arguments:

 

 

 

Retargeter – Opens the main Faceware Retargeting window.

 Usage:

 

 ImCharacterSetup – Opens the Faceware Character Setup window.

 Usage:

 

 ImAddPose - Adds a Pose to a Face Group

Usage: 

 

ImUpdatePose – Updates a pose(equivalent of the ‘Update’ button).

 Usage:

 

ImCreateNetworkDatabase - Creates a Shared Pose Database

Usage: 

 

ftiLoadSharedPoseDatabase – Loads a Shared Pose Database file to be used.

Usage:

 

ImUpdatePoseSelected – Sets a pose to on or off (equivalent of the checkbox to the left of the pose).

 Usage:

 

ImAddSharedPose – Adds the pose to the Shared Pose Database.

Usage:

 

ImApplySharedPoseToScene – Applies the Shared Pose to a frame in the scene.

Usage:

 

ImRevertToPoses – Reverts to poses only. Removes in-between animation.

Usage:

 

ImClearAllKeys – Clears all keyframes within the specified group and range.

Usage:

 

ImSetPlaybackRange – Sets the scene timeline to match the videos range.

Usage:

 

ImSetSceneFrameOffset – Sets the scene’s frame offset for current job.

 Usage:

 

ImUpdateSharedPoses – Updates the user’s shared poses if the database has been updated.

 Usage:

 

ImDefaultCurrentFrame – Sets all controllers in specified Pose Group to their default value on the current frame.

Usage:

 

ImDeletePose – Deletes the pose on the specified frame.

 Usage:

 

ImGetAutoPoses – Gets a number of auto-poses on the group and range specified.

Usage:

 

ImCopyPose – Makes a copy of a pose.

 Usage:

 

ImMovePose – Moves a pose from one frame to another.

 Usage:

 

ImSetPoseName – Sets the description of the specified pose.

 Usage:

 

ImBackup – Creates a backup.

 Usage:

 

ImRestore – Restores to a backup.

 Usage:

 

ImUpdateSharedPoseSelected --  Sets a Shared Pose to on or off (equivalent of the checkbox to the left of the Shared Pose).

Usage:

 

ImEditRetargetingRange -- Edits the values of a Retargeting Frame Range (Pruning, Smoothing, etc.)

Usage:

 

ImAddRetargetRange - Adds a new Frame Range.

Usage:

 

ImDeleteRetargetingRange - Deletes a Frame Range.

Usage: 

 

ImReloadRetargetingResults - Reloads Retargeting Results.

Usage: 

 

ImPoseGroupInfo - Returns value information for the appropriate retargeter function.

Usage: 

 

 

 

Create your own Knowledge Base