anchorTransform.commands module¶
-
anchorTransform.commands.
anchorSelection
(driver, start, end)¶ Anchor the selected transform for the parsed time range. Uses the
anchorTransform()
function. The selected transforms will be checked to see if all attribute channels are open for key frame if this is not the case a dialog box will ask for the users permission to continue.Parameters: - driver (str) – Path to the driver transform
- start (int) – Start time value
- end (int) – End time value
-
anchorTransform.commands.
anchorTransform
(transform, driver, start, end)¶ Anchor a transform for the parsed time range, ideal to fix sliding feet. Function will take into account the in and out tangents in case the transform is already animated.
Parameters: - transform (str) – Path to transform
- driver (str) – Path to the driver transform
- start (int) – Start time value
- end (int) – End time value