trigger.actions.import_asset ============================ .. py:module:: trigger.actions.import_asset .. autoapi-nested-parse:: This module is responsible for importing/exporting external files (mostly geometries) Attributes ---------- .. autoapisummary:: trigger.actions.import_asset.ACTION_DATA trigger.actions.import_asset.log Classes ------- .. autoapisummary:: trigger.actions.import_asset.Import_asset Module Contents --------------- .. py:class:: Import_asset(**kwargs) Bases: :py:obj:`trigger.core.action.ActionCore` .. py:method:: action() Mandatory method for all action maya_modules .. py:method:: feed(action_data) Mandatory Method - Feeds the instance with the action data stored in actions session. .. py:method:: import_alembic(file_path, update_only=False, *args, **kwargs) .. py:method:: import_fbx(file_path, *args, **kwargs) .. py:method:: import_obj(file_path, *args, **kwargs) .. py:method:: import_scene(file_path, *args, **kwargs) .. py:method:: import_usd(file_path, *args, **kwargs) .. py:method:: post_process(new_nodes, scale=1.0, suffix='', parent_under='', *args, **kwargs) :staticmethod: Scaling and renaming post process .. py:method:: save_action() Mandatory method for all action modules .. 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