Biped Copy and Paste Posture Methods

These functions mirror the Copy/Paste functionality.

biped.copyPosture <biped_ctrl> (#posture |#pose |#track) <bool_horiz> <bool_vert> <bool_turn>

Creates a copy of the posture, pose, or track, as specified, for the selected objects in the Biped. Returns the name of copy. bool_horiz, bool_vert, and bool_turn control whether the horizontal, vertical, and/or turn is copied for the COM.

biped.pastePosture <biped_ctrl> (#posture |#pose |#track) <bool_opposite> <string_name>

Pastes the specified posture, pose, or track to the selected objects in the Biped.

biped.deleteAllCopies <biped_ctrl> (#posture |#pose |#track)

Deletes all postures, poses, or tracks, as specified.

biped.numCopies <biped_ctrl> (#posture |#pose |#track)

Returns the number of the posture, pose, or track copies.

biped.deleteCopy <biped_ctrl> (#posture |#pose |#track) <string_name>

Deletes the specified posture, pose, or track copy.

biped.setCopyName <biped_ctrl> (#posture |#pose |#track) <int_which> <String_newName>

Renames the specified posture, pose, or track copy.

biped.getCopyName <biped_ctrl> (#posture |#pose |#track) <int_which>

Returns the name of the specified posture, pose, or track copy.

biped.loadCopyPasteFile <biped_ctrl> <string_filename>

Loads the posture, pose, and track copies from the specified file.

biped.saveCopyPasteFile <biped_ctrl> <string_filename>

Saves the posture, pose, and track copies to the specified file. The file name extension should be "cpy".

 

biped.createCopyCollection <biped_ctrl> <collection_name>

new.gif Creates a new collection with the given name.

<integer>biped.numCopyCollections <biped_ctrl>

new.gif Returns the number of Copy Collections.

<collection_value>biped.getCopyCollection <biped_ctrl> <collection_index>

new.gif Returns the indexed Copy Collection. The CopyCollection value has one property that can be get and set - .name

biped.deleteCopyCollection <biped_ctrl> <collection_index>

new.gif Deletes the indexed Copy Collection.

biped.deleteAllCopyCollections <biped_ctrl>

new.gif Deletes all Copy Collections.

 

See also

Biped Creation

Biped Controllers

Biped MaxScript Extensions