cgl.plugins.maya package¶
Subpackages¶
- cgl.plugins.maya.cli package
- Submodules
- cgl.plugins.maya.cli.create_preview module
- cgl.plugins.maya.cli.create_thumb module
- cgl.plugins.maya.cli.fix_abc module
- cgl.plugins.maya.cli.fix_fbx module
- cgl.plugins.maya.cli.fix_references module
- cgl.plugins.maya.cli.mdl_create_source_from_render module
- cgl.plugins.maya.cli.update_msd module
- cgl.plugins.maya.cli.utils module
- Module contents
- cgl.plugins.maya.tasks package
- Submodules
- cgl.plugins.maya.tasks.anm module
- cgl.plugins.maya.tasks.bndl module
- cgl.plugins.maya.tasks.cam module
- cgl.plugins.maya.tasks.cfx module
- cgl.plugins.maya.tasks.grm module
- cgl.plugins.maya.tasks.lay module
- cgl.plugins.maya.tasks.lite module
- cgl.plugins.maya.tasks.mdl module
- cgl.plugins.maya.tasks.rig module
- cgl.plugins.maya.tasks.set module
- cgl.plugins.maya.tasks.shd module
- cgl.plugins.maya.tasks.tex module
- cgl.plugins.maya.tasks.tlr module
- Module contents
- cgl.plugins.maya.tools package
Submodules¶
cgl.plugins.maya.alchemy module¶
cgl.plugins.maya.asset_picker module¶
cgl.plugins.maya.convert_to_abc module¶
- cgl.plugins.maya.convert_to_abc.convert_to_abc(src_path, dst_path, auto_uvs=False, **kwargs)[source]¶
cgl.plugins.maya.deadline_util module¶
cgl.plugins.maya.mdl_util module¶
cgl.plugins.maya.playblast module¶
cgl.plugins.maya.scene_description_delete module¶
cgl.plugins.maya.setup module¶
- cgl.plugins.maya.setup.copy_setup()[source]¶
Copies the usersetup.py script from the local code location to the maya documents dir
- cgl.plugins.maya.setup.get_maya_versions()[source]¶
Returns the maya versions available on the system
- cgl.plugins.maya.setup.get_mayapy_path(version=None)[source]¶
Returns the mayapy path for the given maya version
- cgl.plugins.maya.setup.install_requirements(version=2024)[source]¶
Installs the requirements.txt file in the magic_browser folder using mayapy.
- cgl.plugins.maya.setup.setup_env()[source]¶
Sets up the maya python path to contain the alchemy_build_path if it exists, or the alchemy_dev_path if it exists Returns:
cgl.plugins.maya.standalone module¶
- cgl.plugins.maya.standalone.run_in_maya_standalone(entrypoint, *args, **kwargs)[source]¶
run a function in maya standalone process and return result
- entrypoint is a string with following syntax:
“cgl.plugins.maya.module_name:func_to_run”
the ‘:’ at the end is the function you want to run in the module
args and kwargs need to be pickleable objects and as does the result of the function