trigger.actions.selection_sets ============================== .. py:module:: trigger.actions.selection_sets .. autoapi-nested-parse:: Define and create selection sets. Attributes ---------- .. autoapisummary:: trigger.actions.selection_sets.ACTION_DATA trigger.actions.selection_sets.log Classes ------- .. autoapisummary:: trigger.actions.selection_sets.Selection_sets Module Contents --------------- .. py:class:: Selection_sets(**kwargs) Bases: :py:obj:`trigger.core.action.ActionCore` .. py:method:: action() Mandatory Method - Execute Action .. py:method:: feed(action_data, *args, **kwargs) Mandatory Method - Feeds the instance with the action data stored in actions session .. py:method:: save_action(file_path=None, *args, **kwargs) Mandatory Method - Save Action .. py:method:: ui(ctrl, layout, handler, *args, **kwargs) Mandatory Method - UI setting definitions Args: ctrl: (model_ctrl) ctrl object instance of /ui/model_ctrl. Updates UI and Model layout: (QLayout) The layout object from the main ui. All setting widgets should be added to this layout handler: (actions_session) An instance of the actions_session. TRY NOT TO USE HANDLER UNLESS ABSOLUTELY NECESSARY *args: **kwargs: Returns: None .. py:attribute:: action_data .. py:data:: ACTION_DATA .. py:data:: log example action data: ACTION_DATA = { "definitions": [ { "name": "renderGeo_set", "members": ["faceAvA, bodyAvA] }, { "name": "controllers_set", "members": [Arm_cont, Leg_cont] } ] }