maya_pipeline_utils

maya_pipeline_utils.approve_assets(set_current=True, triggers=True, force=False)

Queries the user permission on Approvals and give show approval dialog based on them, the user then can Art. Approve or Approve the selected assets in the scene. The approved assets

Parameters:set_current
Returns:
maya_pipeline_utils.create_db_assets(assets, brain=None, publish=False, force_status=None, triggers=False)

Creates database assets and tasks for the given maya asset roots

Parameters:
  • assets – asset locator(s) - child assets will also be respected
  • brain – instance of nreal_brain API
Returns:

maya_pipeline_utils.get_task_wip_dir()
maya_pipeline_utils.publish_assets(assets, brain=None, force_status=None, triggers=False, set_as_current=False)

Publish the given asset

Parameters:
  • assets
  • brain
Returns:

maya_pipeline_utils.retarget_asset_project(to_project, assets=None)

Sets all/given assets to a different project name

Parameters:
  • to_project – the target project code
  • asset – if not given, all scene assets will be altered
Returns: