trigger.utils.space_switcher ============================ .. py:module:: trigger.utils.space_switcher Attributes ---------- .. autoapisummary:: trigger.utils.space_switcher.LOG Functions --------- .. autoapisummary:: trigger.utils.space_switcher.create_space_switch trigger.utils.space_switcher.remove_space_switch Module Contents --------------- .. py:function:: create_space_switch(node, targetList, overrideExisting=False, mode='parent', defaultVal=1, listException=None, skip_errors=False) Creates the space switch attributes between selected node (controller) and targets. Args: node: (single object) Object which anchor space will be switched. Mostly a controller curve. targetList: (list of objects) The node will be anchored between these targets. overrideExisting: (bool) If True, the existing attributes on the node with the same name will be deleted and recreated. Default False mode: (String) The type of the constrain that will be applied to the node. Valid options are "parent", "point and "orient". Default "parent" defaultVal: (integer) Default value for the new Switch attribute. If it is out of range, 1 will be used. default: 1. listException: (List) If this argument is not none, the given elements in the list will be removed from the targetList, in case it is in the list of course. Returns: None .. py:function:: remove_space_switch(node) Removes the anchors created with the spaceswitcher method Args: node: (String) A Single object (mostly a controller curve) which the anchors will be removed Returns: .. py:data:: LOG