trigger.library.selection ========================= .. py:module:: trigger.library.selection .. autoapi-nested-parse:: Functions, checks and queries for selection dependant tasks Functions --------- .. autoapisummary:: trigger.library.selection.add_to_set trigger.library.selection.get_selection_type trigger.library.selection.selection_validate trigger.library.selection.validate Module Contents --------------- .. py:function:: add_to_set(members, set_name, force=True) Adds the given members to a selection set. Returns the set name If the given set exists, it uses that one or else it creates a new one. Args: members: (List) members to be added set_name: (String) name of the list force: (Bool) If true and provided set_name is not a unique name in the scene, a set with a unique name will be created. Or it will raise an exception Returns: (String) name of the used set. .. py:function:: get_selection_type() Return the type of the selection. .. py:function:: selection_validate() validates if only faces of a single object has been made .. py:function:: validate(minimum=None, maximum=None, groups_only=False, meshes_only=False, nurbs_curves_only=False, transforms=True, full_path=False)