trigger.actions.shapes
This module is for saving / loading custom shapes
Attributes
Classes
Module Contents
- class Shapes(**kwargs)
Bases:
trigger.core.action.ActionCore- action()
Mandatory method for all action maya_modules
- export_shapes(file_path, key='*_cont', exclude_key=None)
- feed(action_data, *args, **kwargs)
Mandatory method for all action maya_modules
- gather_scene_shapes(key, exclude_key)
Duplicates all controllers and gathers them under the ‘replaceShapes_grp’ Args:
key: (string) key string with wildcards to search shapes. exclude_key: (string) key string to exclude certain shapes
Returns: replaceShapes_grp
- static get_controllers(selection_key, exclude_key)
- import_shapes(file_path)
- load_alembic_plugin()
Makes sure the alembic plugin is loaded
- save_action(file_path=None, search_key=None, exclude_key=None, *args, **kwargs)
Mandatory method for all action maya_modules
- ui(ctrl, layout, handler, *args, **kwargs)
Mandatory method for all action maya_modules
- action_data
- ACTION_DATA
- LOG