maya-mock-completion 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (624) hide show
  1. maya_mock_completion-0.2.0/LICENSE +21 -0
  2. maya_mock_completion-0.2.0/PKG-INFO +107 -0
  3. maya_mock_completion-0.2.0/README.md +89 -0
  4. maya_mock_completion-0.2.0/maya/OpenMaya.py +19319 -0
  5. maya_mock_completion-0.2.0/maya/OpenMayaAnim.py +2558 -0
  6. maya_mock_completion-0.2.0/maya/OpenMayaFX.py +1868 -0
  7. maya_mock_completion-0.2.0/maya/OpenMayaMPx.py +6315 -0
  8. maya_mock_completion-0.2.0/maya/OpenMayaRender.py +7657 -0
  9. maya_mock_completion-0.2.0/maya/OpenMayaUI.py +3170 -0
  10. maya_mock_completion-0.2.0/maya/PySideMayaIntegration.py +21 -0
  11. maya_mock_completion-0.2.0/maya/_OpenMaya.py +15534 -0
  12. maya_mock_completion-0.2.0/maya/_OpenMayaAnim.py +1983 -0
  13. maya_mock_completion-0.2.0/maya/_OpenMayaFX.py +1529 -0
  14. maya_mock_completion-0.2.0/maya/_OpenMayaMPx.py +7298 -0
  15. maya_mock_completion-0.2.0/maya/_OpenMayaRender.py +7481 -0
  16. maya_mock_completion-0.2.0/maya/_OpenMayaUI.py +2324 -0
  17. maya_mock_completion-0.2.0/maya/__init__.py +9 -0
  18. maya_mock_completion-0.2.0/maya/analytics/AnalyticStaticNodeTypes.py +88 -0
  19. maya_mock_completion-0.2.0/maya/analytics/AnalyticStaticNodeTypes_res.py +2 -0
  20. maya_mock_completion-0.2.0/maya/analytics/BaseAnalytic.py +145 -0
  21. maya_mock_completion-0.2.0/maya/analytics/Logger.py +59 -0
  22. maya_mock_completion-0.2.0/maya/analytics/ObjectNamer.py +145 -0
  23. maya_mock_completion-0.2.0/maya/analytics/ProgressMatrix.py +102 -0
  24. maya_mock_completion-0.2.0/maya/analytics/Runner.py +144 -0
  25. maya_mock_completion-0.2.0/maya/analytics/Window.py +514 -0
  26. maya_mock_completion-0.2.0/maya/analytics/Window_res.py +2 -0
  27. maya_mock_completion-0.2.0/maya/analytics/__init__.py +18 -0
  28. maya_mock_completion-0.2.0/maya/analytics/analyticAnimation.py +165 -0
  29. maya_mock_completion-0.2.0/maya/analytics/analyticAnimation_res.py +2 -0
  30. maya_mock_completion-0.2.0/maya/analytics/analyticCachePerformance.py +154 -0
  31. maya_mock_completion-0.2.0/maya/analytics/analyticCachePerformance_res.py +2 -0
  32. maya_mock_completion-0.2.0/maya/analytics/analyticCharacter.py +56 -0
  33. maya_mock_completion-0.2.0/maya/analytics/analyticCharacter_res.py +2 -0
  34. maya_mock_completion-0.2.0/maya/analytics/analyticConnections.py +63 -0
  35. maya_mock_completion-0.2.0/maya/analytics/analyticConnections_res.py +2 -0
  36. maya_mock_completion-0.2.0/maya/analytics/analyticDeformers.py +62 -0
  37. maya_mock_completion-0.2.0/maya/analytics/analyticDeformers_res.py +2 -0
  38. maya_mock_completion-0.2.0/maya/analytics/analyticEvalManager.py +166 -0
  39. maya_mock_completion-0.2.0/maya/analytics/analyticEvalManager_res.py +2 -0
  40. maya_mock_completion-0.2.0/maya/analytics/analyticGPUClusters.py +77 -0
  41. maya_mock_completion-0.2.0/maya/analytics/analyticGPUClusters_res.py +2 -0
  42. maya_mock_completion-0.2.0/maya/analytics/analyticGPUDeformers.py +79 -0
  43. maya_mock_completion-0.2.0/maya/analytics/analyticGPUDeformers_res.py +2 -0
  44. maya_mock_completion-0.2.0/maya/analytics/analyticGPUTweaks.py +66 -0
  45. maya_mock_completion-0.2.0/maya/analytics/analyticGPUTweaks_res.py +2 -0
  46. maya_mock_completion-0.2.0/maya/analytics/analyticHIK.py +49 -0
  47. maya_mock_completion-0.2.0/maya/analytics/analyticHIK_res.py +2 -0
  48. maya_mock_completion-0.2.0/maya/analytics/analyticIK.py +72 -0
  49. maya_mock_completion-0.2.0/maya/analytics/analyticIK_res.py +2 -0
  50. maya_mock_completion-0.2.0/maya/analytics/analyticMesh.py +57 -0
  51. maya_mock_completion-0.2.0/maya/analytics/analyticMesh_res.py +2 -0
  52. maya_mock_completion-0.2.0/maya/analytics/analyticNodeTypes.py +141 -0
  53. maya_mock_completion-0.2.0/maya/analytics/analyticNodeTypes_res.py +2 -0
  54. maya_mock_completion-0.2.0/maya/analytics/analyticScheduling.py +93 -0
  55. maya_mock_completion-0.2.0/maya/analytics/analyticScheduling_res.py +2 -0
  56. maya_mock_completion-0.2.0/maya/analytics/analyticScripts.py +64 -0
  57. maya_mock_completion-0.2.0/maya/analytics/analyticScripts_res.py +2 -0
  58. maya_mock_completion-0.2.0/maya/analytics/analyticSkinClusters.py +61 -0
  59. maya_mock_completion-0.2.0/maya/analytics/analyticSkinClusters_res.py +2 -0
  60. maya_mock_completion-0.2.0/maya/analytics/analyticTiming.py +124 -0
  61. maya_mock_completion-0.2.0/maya/analytics/analyticTiming_res.py +2 -0
  62. maya_mock_completion-0.2.0/maya/analytics/analyticUnitConversion.py +94 -0
  63. maya_mock_completion-0.2.0/maya/analytics/analyticUnitConversion_res.py +2 -0
  64. maya_mock_completion-0.2.0/maya/analytics/analyticValues.py +62 -0
  65. maya_mock_completion-0.2.0/maya/analytics/analyticValues_res.py +2 -0
  66. maya_mock_completion-0.2.0/maya/analytics/decorators.py +95 -0
  67. maya_mock_completion-0.2.0/maya/analytics/decorators_res.py +2 -0
  68. maya_mock_completion-0.2.0/maya/analytics/dg_utilities.py +92 -0
  69. maya_mock_completion-0.2.0/maya/analytics/maya_file_generator.py +53 -0
  70. maya_mock_completion-0.2.0/maya/analytics/utilities.py +54 -0
  71. maya_mock_completion-0.2.0/maya/api/MDGContextGuard.py +76 -0
  72. maya_mock_completion-0.2.0/maya/api/OpenMaya.py +35583 -0
  73. maya_mock_completion-0.2.0/maya/api/OpenMayaAnim.py +2112 -0
  74. maya_mock_completion-0.2.0/maya/api/OpenMayaRender.py +10553 -0
  75. maya_mock_completion-0.2.0/maya/api/OpenMayaUI.py +6577 -0
  76. maya_mock_completion-0.2.0/maya/api/__init__.py +2 -0
  77. maya_mock_completion-0.2.0/maya/app/TTF/__init__.py +2 -0
  78. maya_mock_completion-0.2.0/maya/app/TTF/search.py +26 -0
  79. maya_mock_completion-0.2.0/maya/app/TTF/store.py +14 -0
  80. maya_mock_completion-0.2.0/maya/app/TTF/ui.py +36 -0
  81. maya_mock_completion-0.2.0/maya/app/TTF/utils.py +64 -0
  82. maya_mock_completion-0.2.0/maya/app/__init__.py +11 -0
  83. maya_mock_completion-0.2.0/maya/app/baseUI.py +26 -0
  84. maya_mock_completion-0.2.0/maya/app/baseUI_res.py +2 -0
  85. maya_mock_completion-0.2.0/maya/app/colorMgt/__init__.py +2 -0
  86. maya_mock_completion-0.2.0/maya/app/colorMgt/customTransformUI.py +93 -0
  87. maya_mock_completion-0.2.0/maya/app/colorMgt/customTransformUI_res.py +2 -0
  88. maya_mock_completion-0.2.0/maya/app/colorMgt/inputSpaceRulesUI.py +138 -0
  89. maya_mock_completion-0.2.0/maya/app/colorMgt/inputSpaceRulesUI_res.py +2 -0
  90. maya_mock_completion-0.2.0/maya/app/colorMgt/reapplyRules.py +5 -0
  91. maya_mock_completion-0.2.0/maya/app/commands.py +18 -0
  92. maya_mock_completion-0.2.0/maya/app/edl/__init__.py +2 -0
  93. maya_mock_completion-0.2.0/maya/app/edl/fcp.py +164 -0
  94. maya_mock_completion-0.2.0/maya/app/edl/importExport.py +95 -0
  95. maya_mock_completion-0.2.0/maya/app/edl/translator.py +107 -0
  96. maya_mock_completion-0.2.0/maya/app/evaluationToolkit/EvaluationToolkitSectionDebugging.py +350 -0
  97. maya_mock_completion-0.2.0/maya/app/evaluationToolkit/EvaluationToolkitSectionDebugging_res.py +2 -0
  98. maya_mock_completion-0.2.0/maya/app/evaluationToolkit/EvaluationToolkitSectionHUD.py +61 -0
  99. maya_mock_completion-0.2.0/maya/app/evaluationToolkit/EvaluationToolkitSectionHUD_res.py +2 -0
  100. maya_mock_completion-0.2.0/maya/app/evaluationToolkit/__init__.py +2 -0
  101. maya_mock_completion-0.2.0/maya/app/evaluationToolkit/evaluationToolkit.py +827 -0
  102. maya_mock_completion-0.2.0/maya/app/evaluationToolkit/evaluationToolkit_res.py +2 -0
  103. maya_mock_completion-0.2.0/maya/app/evaluationToolkit/evaluation_toolkit_utilities.py +63 -0
  104. maya_mock_completion-0.2.0/maya/app/flux/__init__.py +12 -0
  105. maya_mock_completion-0.2.0/maya/app/flux/ae/Custom.py +123 -0
  106. maya_mock_completion-0.2.0/maya/app/flux/ae/Template.py +16 -0
  107. maya_mock_completion-0.2.0/maya/app/flux/ae/__init__.py +12 -0
  108. maya_mock_completion-0.2.0/maya/app/flux/ae/api.py +11 -0
  109. maya_mock_completion-0.2.0/maya/app/flux/ae/singleton.py +8 -0
  110. maya_mock_completion-0.2.0/maya/app/flux/ae/store.py +4 -0
  111. maya_mock_completion-0.2.0/maya/app/flux/ae/ui.py +236 -0
  112. maya_mock_completion-0.2.0/maya/app/flux/ae/utils.py +26 -0
  113. maya_mock_completion-0.2.0/maya/app/flux/attrUtils.py +14 -0
  114. maya_mock_completion-0.2.0/maya/app/flux/commonImports.py +10 -0
  115. maya_mock_completion-0.2.0/maya/app/flux/core.py +62 -0
  116. maya_mock_completion-0.2.0/maya/app/flux/imports.py +10 -0
  117. maya_mock_completion-0.2.0/maya/app/flux/mayaImports.py +2 -0
  118. maya_mock_completion-0.2.0/maya/app/flux/qtImports.py +10 -0
  119. maya_mock_completion-0.2.0/maya/app/flux/ui/__init__.py +12 -0
  120. maya_mock_completion-0.2.0/maya/app/flux/ui/core.py +433 -0
  121. maya_mock_completion-0.2.0/maya/app/flux/ui/singleton.py +4 -0
  122. maya_mock_completion-0.2.0/maya/app/flux/undo.py +65 -0
  123. maya_mock_completion-0.2.0/maya/app/flux/utils.py +146 -0
  124. maya_mock_completion-0.2.0/maya/app/flux/utils_res.py +10 -0
  125. maya_mock_completion-0.2.0/maya/app/general/CommandPort.py +128 -0
  126. maya_mock_completion-0.2.0/maya/app/general/CommandPort_res.py +2 -0
  127. maya_mock_completion-0.2.0/maya/app/general/ServerRegistryMMap.py +107 -0
  128. maya_mock_completion-0.2.0/maya/app/general/ServerRegistryMMap_res.py +2 -0
  129. maya_mock_completion-0.2.0/maya/app/general/__init__.py +2 -0
  130. maya_mock_completion-0.2.0/maya/app/general/adjustBackgroundImageWin.py +88 -0
  131. maya_mock_completion-0.2.0/maya/app/general/adjustBackgroundImageWin_res.py +2 -0
  132. maya_mock_completion-0.2.0/maya/app/general/art3dPaintGetPaintableAttr.py +26 -0
  133. maya_mock_completion-0.2.0/maya/app/general/art3dPaintGetPaintableAttr_res.py +2 -0
  134. maya_mock_completion-0.2.0/maya/app/general/assemblyUtils.py +15 -0
  135. maya_mock_completion-0.2.0/maya/app/general/creaseSetEditor.py +971 -0
  136. maya_mock_completion-0.2.0/maya/app/general/creaseSetEditor_res.py +2 -0
  137. maya_mock_completion-0.2.0/maya/app/general/createImageFormats.py +97 -0
  138. maya_mock_completion-0.2.0/maya/app/general/createImageFormats_res.py +2 -0
  139. maya_mock_completion-0.2.0/maya/app/general/editUtils.py +174 -0
  140. maya_mock_completion-0.2.0/maya/app/general/editUtils_res.py +2 -0
  141. maya_mock_completion-0.2.0/maya/app/general/executeDroppedPythonFile.py +45 -0
  142. maya_mock_completion-0.2.0/maya/app/general/executeDroppedPythonFile_res.py +2 -0
  143. maya_mock_completion-0.2.0/maya/app/general/fileTexturePathResolver.py +86 -0
  144. maya_mock_completion-0.2.0/maya/app/general/greasePencilInterop.py +70 -0
  145. maya_mock_completion-0.2.0/maya/app/general/greasePencilInterop_res.py +2 -0
  146. maya_mock_completion-0.2.0/maya/app/general/keySetOptionBox.py +8 -0
  147. maya_mock_completion-0.2.0/maya/app/general/mayaIsVP2Capable.py +17 -0
  148. maya_mock_completion-0.2.0/maya/app/general/mayaMixin.py +384 -0
  149. maya_mock_completion-0.2.0/maya/app/general/mentalRayNotAvailableDialog.py +12 -0
  150. maya_mock_completion-0.2.0/maya/app/general/mentalRayNotAvailableDialog_res.py +2 -0
  151. maya_mock_completion-0.2.0/maya/app/general/menuItemToShelf.py +24 -0
  152. maya_mock_completion-0.2.0/maya/app/general/meshHeight.py +5 -0
  153. maya_mock_completion-0.2.0/maya/app/general/nodeEditor.py +131 -0
  154. maya_mock_completion-0.2.0/maya/app/general/nodeEditorBookmarks.py +130 -0
  155. maya_mock_completion-0.2.0/maya/app/general/nodeEditorBookmarks_res.py +2 -0
  156. maya_mock_completion-0.2.0/maya/app/general/nodeEditorMenus.py +225 -0
  157. maya_mock_completion-0.2.0/maya/app/general/nodeEditorMenus_res.py +2 -0
  158. maya_mock_completion-0.2.0/maya/app/general/nodeEditorRendererMenus.py +43 -0
  159. maya_mock_completion-0.2.0/maya/app/general/nodeEditorRendererMenus_res.py +2 -0
  160. maya_mock_completion-0.2.0/maya/app/general/pointOnPolyConstraint.py +5 -0
  161. maya_mock_completion-0.2.0/maya/app/general/positionAlongCurve.py +10 -0
  162. maya_mock_completion-0.2.0/maya/app/general/positionAlongCurve_res.py +2 -0
  163. maya_mock_completion-0.2.0/maya/app/general/publishAttrToContainer.py +32 -0
  164. maya_mock_completion-0.2.0/maya/app/general/publishAttrToContainer_res.py +2 -0
  165. maya_mock_completion-0.2.0/maya/app/general/resourceBrowser.py +61 -0
  166. maya_mock_completion-0.2.0/maya/app/general/resourceBrowser_res.py +2 -0
  167. maya_mock_completion-0.2.0/maya/app/general/shelfEditorWindow_res.py +2 -0
  168. maya_mock_completion-0.2.0/maya/app/general/tlfavorites.py +84 -0
  169. maya_mock_completion-0.2.0/maya/app/general/tlfavorites_res.py +2 -0
  170. maya_mock_completion-0.2.0/maya/app/general/updateRenderableCamerasList.py +42 -0
  171. maya_mock_completion-0.2.0/maya/app/general/zipScene.py +19 -0
  172. maya_mock_completion-0.2.0/maya/app/general/zipScene_res.py +2 -0
  173. maya_mock_completion-0.2.0/maya/app/hik/__init__.py +2 -0
  174. maya_mock_completion-0.2.0/maya/app/hik/retargeter.py +479 -0
  175. maya_mock_completion-0.2.0/maya/app/hik/retargeter_res.py +2 -0
  176. maya_mock_completion-0.2.0/maya/app/hik/timer.py +22 -0
  177. maya_mock_completion-0.2.0/maya/app/mayabullet/AlembicExport_res.py +2 -0
  178. maya_mock_completion-0.2.0/maya/app/mayabullet/BulletUtils_res.py +2 -0
  179. maya_mock_completion-0.2.0/maya/app/mayabullet/CommandWithOptionVars.py +68 -0
  180. maya_mock_completion-0.2.0/maya/app/mayabullet/CommandWithOptionVars_res.py +2 -0
  181. maya_mock_completion-0.2.0/maya/app/mayabullet/MayaDynamicsIntegration.py +101 -0
  182. maya_mock_completion-0.2.0/maya/app/mayabullet/MayaDynamicsIntegration_res.py +2 -0
  183. maya_mock_completion-0.2.0/maya/app/mayabullet/MayaUtils_res.py +2 -0
  184. maya_mock_completion-0.2.0/maya/app/mayabullet/Ragdoll_res.py +2 -0
  185. maya_mock_completion-0.2.0/maya/app/mayabullet/RigidBodyConstraintUI_res.py +2 -0
  186. maya_mock_completion-0.2.0/maya/app/mayabullet/RigidBodyConstraint_res.py +2 -0
  187. maya_mock_completion-0.2.0/maya/app/mayabullet/RigidBodyUI_res.py +2 -0
  188. maya_mock_completion-0.2.0/maya/app/mayabullet/RigidBody_res.py +2 -0
  189. maya_mock_completion-0.2.0/maya/app/mayabullet/SoftBodyConstraint_res.py +2 -0
  190. maya_mock_completion-0.2.0/maya/app/mayabullet/SoftBodyUI.py +19 -0
  191. maya_mock_completion-0.2.0/maya/app/mayabullet/SoftBodyUI_res.py +2 -0
  192. maya_mock_completion-0.2.0/maya/app/mayabullet/SoftBody_res.py +2 -0
  193. maya_mock_completion-0.2.0/maya/app/mayabullet/SolverUI.py +39 -0
  194. maya_mock_completion-0.2.0/maya/app/mayabullet/SolverUI_res.py +2 -0
  195. maya_mock_completion-0.2.0/maya/app/mayabullet/Trace.py +13 -0
  196. maya_mock_completion-0.2.0/maya/app/mayabullet/__init__.py +35 -0
  197. maya_mock_completion-0.2.0/maya/app/optionvarcmd/__init__.py +2 -0
  198. maya_mock_completion-0.2.0/maya/app/optionvarcmd/deformer_res.py +2 -0
  199. maya_mock_completion-0.2.0/maya/app/optionvarcmd/deltamush_res.py +2 -0
  200. maya_mock_completion-0.2.0/maya/app/optionvarcmd/optionvar_res.py +2 -0
  201. maya_mock_completion-0.2.0/maya/app/optionvarcmd/pintogeometry_res.py +2 -0
  202. maya_mock_completion-0.2.0/maya/app/optionvarcmd/proxwrap_res.py +2 -0
  203. maya_mock_completion-0.2.0/maya/app/optionvarcmd/tension_res.py +2 -0
  204. maya_mock_completion-0.2.0/maya/app/optionvarcmd/utils_res.py +2 -0
  205. maya_mock_completion-0.2.0/maya/app/polygons/__init__.py +2 -0
  206. maya_mock_completion-0.2.0/maya/app/polygons/polyUtilMeshQuery.py +62 -0
  207. maya_mock_completion-0.2.0/maya/app/prefs/OptionVar.py +227 -0
  208. maya_mock_completion-0.2.0/maya/app/prefs/OptionVarManager.py +105 -0
  209. maya_mock_completion-0.2.0/maya/app/prefs/OptionVarManager_res.py +2 -0
  210. maya_mock_completion-0.2.0/maya/app/prefs/OptionVar_res.py +2 -0
  211. maya_mock_completion-0.2.0/maya/app/prefs/__init__.py +2 -0
  212. maya_mock_completion-0.2.0/maya/app/profilerEventDescriptionWindow/__init__.py +2 -0
  213. maya_mock_completion-0.2.0/maya/app/profilerEventDescriptionWindow/profilerEventDescriptionWindow.py +108 -0
  214. maya_mock_completion-0.2.0/maya/app/profilerEventDescriptionWindow/profilerEventDescriptionWindow_res.py +2 -0
  215. maya_mock_completion-0.2.0/maya/app/quickRig/__init__.py +2 -0
  216. maya_mock_completion-0.2.0/maya/app/quickRig/quickRigUI.py +1051 -0
  217. maya_mock_completion-0.2.0/maya/app/quickRig/quickRigUI_res.py +2 -0
  218. maya_mock_completion-0.2.0/maya/app/renderSetup/__init__.py +2 -0
  219. maya_mock_completion-0.2.0/maya/app/renderSetup/common/__init__.py +2 -0
  220. maya_mock_completion-0.2.0/maya/app/renderSetup/common/devtools.py +9 -0
  221. maya_mock_completion-0.2.0/maya/app/renderSetup/common/errorAndWarningDeferrer.py +26 -0
  222. maya_mock_completion-0.2.0/maya/app/renderSetup/common/guard.py +140 -0
  223. maya_mock_completion-0.2.0/maya/app/renderSetup/common/profiler.py +37 -0
  224. maya_mock_completion-0.2.0/maya/app/renderSetup/common/test/__init__.py +2 -0
  225. maya_mock_completion-0.2.0/maya/app/renderSetup/common/test/importExportUtils.py +28 -0
  226. maya_mock_completion-0.2.0/maya/app/renderSetup/common/test/sceneUtils.py +84 -0
  227. maya_mock_completion-0.2.0/maya/app/renderSetup/common/test/testScenes.py +92 -0
  228. maya_mock_completion-0.2.0/maya/app/renderSetup/common/utils.py +135 -0
  229. maya_mock_completion-0.2.0/maya/app/renderSetup/common/utils_res.py +2 -0
  230. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/__init__.py +2 -0
  231. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/model/__init__.py +2 -0
  232. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/model/editor.py +74 -0
  233. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/model/editor_res.py +2 -0
  234. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/model/group.py +59 -0
  235. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/model/group_res.py +2 -0
  236. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/model/initialize.py +22 -0
  237. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/model/initialize_res.py +2 -0
  238. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/model/item.py +115 -0
  239. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/model/item_res.py +2 -0
  240. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/model/light.py +62 -0
  241. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/model/typeManager.py +76 -0
  242. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/model/update.py +40 -0
  243. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/views/__init__.py +2 -0
  244. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/views/delegate.py +70 -0
  245. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/views/delegate_res.py +2 -0
  246. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/views/editorUI.py +242 -0
  247. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/views/editorUI_res.py +2 -0
  248. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/views/initialize.py +14 -0
  249. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/views/properties.py +43 -0
  250. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/views/properties_res.py +2 -0
  251. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/views/proxy.py +351 -0
  252. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/views/proxyFactory.py +47 -0
  253. maya_mock_completion-0.2.0/maya/app/renderSetup/lightEditor/views/proxyFactory_res.py +2 -0
  254. maya_mock_completion-0.2.0/maya/app/renderSetup/model/__init__.py +2 -0
  255. maya_mock_completion-0.2.0/maya/app/renderSetup/model/algorithm.py +36 -0
  256. maya_mock_completion-0.2.0/maya/app/renderSetup/model/aovs.py +53 -0
  257. maya_mock_completion-0.2.0/maya/app/renderSetup/model/aovs_res.py +2 -0
  258. maya_mock_completion-0.2.0/maya/app/renderSetup/model/applyOverride.py +1240 -0
  259. maya_mock_completion-0.2.0/maya/app/renderSetup/model/autoKey.py +51 -0
  260. maya_mock_completion-0.2.0/maya/app/renderSetup/model/childNode.py +267 -0
  261. maya_mock_completion-0.2.0/maya/app/renderSetup/model/childNode_res.py +2 -0
  262. maya_mock_completion-0.2.0/maya/app/renderSetup/model/clipboardData.py +21 -0
  263. maya_mock_completion-0.2.0/maya/app/renderSetup/model/collection.py +593 -0
  264. maya_mock_completion-0.2.0/maya/app/renderSetup/model/collection_res.py +2 -0
  265. maya_mock_completion-0.2.0/maya/app/renderSetup/model/connectionOverride.py +511 -0
  266. maya_mock_completion-0.2.0/maya/app/renderSetup/model/connectionOverride_res.py +2 -0
  267. maya_mock_completion-0.2.0/maya/app/renderSetup/model/context.py +312 -0
  268. maya_mock_completion-0.2.0/maya/app/renderSetup/model/conversion.py +131 -0
  269. maya_mock_completion-0.2.0/maya/app/renderSetup/model/conversion_res.py +2 -0
  270. maya_mock_completion-0.2.0/maya/app/renderSetup/model/dagPath.py +109 -0
  271. maya_mock_completion-0.2.0/maya/app/renderSetup/model/dragAndDropBehavior.py +223 -0
  272. maya_mock_completion-0.2.0/maya/app/renderSetup/model/dragAndDropBehavior_res.py +2 -0
  273. maya_mock_completion-0.2.0/maya/app/renderSetup/model/enabled.py +86 -0
  274. maya_mock_completion-0.2.0/maya/app/renderSetup/model/fileLoadMonitor.py +68 -0
  275. maya_mock_completion-0.2.0/maya/app/renderSetup/model/fileLoadMonitor_res.py +2 -0
  276. maya_mock_completion-0.2.0/maya/app/renderSetup/model/initialize.py +37 -0
  277. maya_mock_completion-0.2.0/maya/app/renderSetup/model/issue.py +31 -0
  278. maya_mock_completion-0.2.0/maya/app/renderSetup/model/jsonTranslatorGlobals.py +80 -0
  279. maya_mock_completion-0.2.0/maya/app/renderSetup/model/jsonTranslatorGlobals_res.py +2 -0
  280. maya_mock_completion-0.2.0/maya/app/renderSetup/model/jsonTranslatorUtils.py +70 -0
  281. maya_mock_completion-0.2.0/maya/app/renderSetup/model/labelColor.py +21 -0
  282. maya_mock_completion-0.2.0/maya/app/renderSetup/model/legacyRenderLayer.py +32 -0
  283. maya_mock_completion-0.2.0/maya/app/renderSetup/model/localOverride.py +198 -0
  284. maya_mock_completion-0.2.0/maya/app/renderSetup/model/localOverride_res.py +2 -0
  285. maya_mock_completion-0.2.0/maya/app/renderSetup/model/memberSet.py +63 -0
  286. maya_mock_completion-0.2.0/maya/app/renderSetup/model/modelCmds.py +303 -0
  287. maya_mock_completion-0.2.0/maya/app/renderSetup/model/modelCmds_res.py +2 -0
  288. maya_mock_completion-0.2.0/maya/app/renderSetup/model/namespace.py +40 -0
  289. maya_mock_completion-0.2.0/maya/app/renderSetup/model/nodeList.py +955 -0
  290. maya_mock_completion-0.2.0/maya/app/renderSetup/model/nodeListPrivate.py +403 -0
  291. maya_mock_completion-0.2.0/maya/app/renderSetup/model/nodeListPrivate_res.py +2 -0
  292. maya_mock_completion-0.2.0/maya/app/renderSetup/model/nodeNotes.py +21 -0
  293. maya_mock_completion-0.2.0/maya/app/renderSetup/model/observable.py +72 -0
  294. maya_mock_completion-0.2.0/maya/app/renderSetup/model/observableProxy.py +59 -0
  295. maya_mock_completion-0.2.0/maya/app/renderSetup/model/overriddenAttributeManager.py +115 -0
  296. maya_mock_completion-0.2.0/maya/app/renderSetup/model/override.py +621 -0
  297. maya_mock_completion-0.2.0/maya/app/renderSetup/model/overrideManager.py +16 -0
  298. maya_mock_completion-0.2.0/maya/app/renderSetup/model/overrideUtils.py +43 -0
  299. maya_mock_completion-0.2.0/maya/app/renderSetup/model/override_res.py +2 -0
  300. maya_mock_completion-0.2.0/maya/app/renderSetup/model/plug.py +459 -0
  301. maya_mock_completion-0.2.0/maya/app/renderSetup/model/plug_res.py +2 -0
  302. maya_mock_completion-0.2.0/maya/app/renderSetup/model/progressObservable.py +86 -0
  303. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderLayer.py +409 -0
  304. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderLayerSwitchInfo.py +110 -0
  305. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderLayerSwitchInfo_res.py +2 -0
  306. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderLayer_res.py +2 -0
  307. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderSettings.py +130 -0
  308. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderSettings_res.py +2 -0
  309. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderSetup.py +1061 -0
  310. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderSetupPreferences.py +304 -0
  311. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderSetupPreferences_res.py +2 -0
  312. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderSetupPresets.py +57 -0
  313. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderSetupPresetsModelStrings.py +16 -0
  314. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderSetupPresetsModelStrings_res.py +2 -0
  315. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderSetupPrivate.py +220 -0
  316. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderSetupPrivate_res.py +2 -0
  317. maya_mock_completion-0.2.0/maya/app/renderSetup/model/renderSetup_res.py +2 -0
  318. maya_mock_completion-0.2.0/maya/app/renderSetup/model/rendererCallbacks.py +154 -0
  319. maya_mock_completion-0.2.0/maya/app/renderSetup/model/rendererCallbacks_res.py +2 -0
  320. maya_mock_completion-0.2.0/maya/app/renderSetup/model/sceneObservable.py +114 -0
  321. maya_mock_completion-0.2.0/maya/app/renderSetup/model/selection.py +60 -0
  322. maya_mock_completion-0.2.0/maya/app/renderSetup/model/selector.py +1509 -0
  323. maya_mock_completion-0.2.0/maya/app/renderSetup/model/selector_res.py +2 -0
  324. maya_mock_completion-0.2.0/maya/app/renderSetup/model/serializableNode.py +16 -0
  325. maya_mock_completion-0.2.0/maya/app/renderSetup/model/shadingNodes.py +261 -0
  326. maya_mock_completion-0.2.0/maya/app/renderSetup/model/traverse.py +24 -0
  327. maya_mock_completion-0.2.0/maya/app/renderSetup/model/typeIDs.py +116 -0
  328. maya_mock_completion-0.2.0/maya/app/renderSetup/model/undo.py +391 -0
  329. maya_mock_completion-0.2.0/maya/app/renderSetup/model/utils.py +314 -0
  330. maya_mock_completion-0.2.0/maya/app/renderSetup/model/utilsModelStrings.py +12 -0
  331. maya_mock_completion-0.2.0/maya/app/renderSetup/model/utilsModelStrings_res.py +2 -0
  332. maya_mock_completion-0.2.0/maya/app/renderSetup/model/utils_res.py +2 -0
  333. maya_mock_completion-0.2.0/maya/app/renderSetup/model/weakMethod.py +48 -0
  334. maya_mock_completion-0.2.0/maya/app/renderSetup/views/Test/__init__.py +2 -0
  335. maya_mock_completion-0.2.0/maya/app/renderSetup/views/__init__.py +2 -0
  336. maya_mock_completion-0.2.0/maya/app/renderSetup/views/baseDelegate.py +88 -0
  337. maya_mock_completion-0.2.0/maya/app/renderSetup/views/frameLayout.py +134 -0
  338. maya_mock_completion-0.2.0/maya/app/renderSetup/views/importExportUI.py +205 -0
  339. maya_mock_completion-0.2.0/maya/app/renderSetup/views/importExportUI_res.py +2 -0
  340. maya_mock_completion-0.2.0/maya/app/renderSetup/views/initialize.py +15 -0
  341. maya_mock_completion-0.2.0/maya/app/renderSetup/views/labelColorConstants.py +22 -0
  342. maya_mock_completion-0.2.0/maya/app/renderSetup/views/labelColorConstants_res.py +2 -0
  343. maya_mock_completion-0.2.0/maya/app/renderSetup/views/lightEditor/__init__.py +2 -0
  344. maya_mock_completion-0.2.0/maya/app/renderSetup/views/lightEditor/editor_res.py +2 -0
  345. maya_mock_completion-0.2.0/maya/app/renderSetup/views/lightEditor/enterScope.py +18 -0
  346. maya_mock_completion-0.2.0/maya/app/renderSetup/views/lightEditor/group_res.py +2 -0
  347. maya_mock_completion-0.2.0/maya/app/renderSetup/views/lightEditor/itemStyle.py +59 -0
  348. maya_mock_completion-0.2.0/maya/app/renderSetup/views/lightEditor/lightSource_res.py +2 -0
  349. maya_mock_completion-0.2.0/maya/app/renderSetup/views/lightEditor/utils.py +11 -0
  350. maya_mock_completion-0.2.0/maya/app/renderSetup/views/modalUtils.py +26 -0
  351. maya_mock_completion-0.2.0/maya/app/renderSetup/views/overrideUtils.py +35 -0
  352. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/__init__.py +2 -0
  353. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/basicCollection.py +31 -0
  354. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/basicCollection_res.py +2 -0
  355. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/collection.py +67 -0
  356. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/collectionFactory.py +48 -0
  357. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/collectionFactory_res.py +2 -0
  358. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/collectionFilterLineEdit.py +35 -0
  359. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/collectionFilterLineEdit_res.py +2 -0
  360. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/collectionPropertyEditorStrings.py +24 -0
  361. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/collectionPropertyEditorStrings_res.py +2 -0
  362. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/collectionStaticSelectionWidget.py +127 -0
  363. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/collectionStaticSelectionWidget_res.py +2 -0
  364. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/expressionLabels.py +47 -0
  365. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/expressionLabels_res.py +2 -0
  366. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/initialize.py +16 -0
  367. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/layout.py +30 -0
  368. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/main.py +120 -0
  369. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/main_res.py +2 -0
  370. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/override.py +39 -0
  371. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/overridePropertyEditorStrings.py +12 -0
  372. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/overridePropertyEditorStrings_res.py +2 -0
  373. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/override_res.py +2 -0
  374. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/renderLayer.py +15 -0
  375. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/selectorFactory.py +70 -0
  376. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/selectorFactory_res.py +2 -0
  377. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/simpleSelector.py +103 -0
  378. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/simpleSelector_res.py +2 -0
  379. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/staticCollection.py +26 -0
  380. maya_mock_completion-0.2.0/maya/app/renderSetup/views/propertyEditor/staticCollection_res.py +2 -0
  381. maya_mock_completion-0.2.0/maya/app/renderSetup/views/proxy/__init__.py +2 -0
  382. maya_mock_completion-0.2.0/maya/app/renderSetup/views/proxy/initialize.py +11 -0
  383. maya_mock_completion-0.2.0/maya/app/renderSetup/views/proxy/proxyFactory.py +47 -0
  384. maya_mock_completion-0.2.0/maya/app/renderSetup/views/proxy/proxyFactory_res.py +2 -0
  385. maya_mock_completion-0.2.0/maya/app/renderSetup/views/proxy/renderSetup.py +969 -0
  386. maya_mock_completion-0.2.0/maya/app/renderSetup/views/proxy/renderSetupProxyStrings.py +100 -0
  387. maya_mock_completion-0.2.0/maya/app/renderSetup/views/proxy/renderSetupProxyStrings_res.py +2 -0
  388. maya_mock_completion-0.2.0/maya/app/renderSetup/views/proxy/renderSetupRoles.py +40 -0
  389. maya_mock_completion-0.2.0/maya/app/renderSetup/views/proxy/renderSetup_res.py +2 -0
  390. maya_mock_completion-0.2.0/maya/app/renderSetup/views/proxy/scene_res.py +2 -0
  391. maya_mock_completion-0.2.0/maya/app/renderSetup/views/pySide/__init__.py +2 -0
  392. maya_mock_completion-0.2.0/maya/app/renderSetup/views/pySide/action.py +22 -0
  393. maya_mock_completion-0.2.0/maya/app/renderSetup/views/pySide/cursors.py +40 -0
  394. maya_mock_completion-0.2.0/maya/app/renderSetup/views/pySide/menu.py +14 -0
  395. maya_mock_completion-0.2.0/maya/app/renderSetup/views/pySide/standardItem.py +12 -0
  396. maya_mock_completion-0.2.0/maya/app/renderSetup/views/renderSetupButton.py +90 -0
  397. maya_mock_completion-0.2.0/maya/app/renderSetup/views/renderSetupCheckableButton.py +32 -0
  398. maya_mock_completion-0.2.0/maya/app/renderSetup/views/renderSetupDelegate.py +72 -0
  399. maya_mock_completion-0.2.0/maya/app/renderSetup/views/renderSetupDelegate_res.py +2 -0
  400. maya_mock_completion-0.2.0/maya/app/renderSetup/views/renderSetupPreferences.py +112 -0
  401. maya_mock_completion-0.2.0/maya/app/renderSetup/views/renderSetupPreferencesViewsStrings.py +40 -0
  402. maya_mock_completion-0.2.0/maya/app/renderSetup/views/renderSetupPreferencesViewsStrings_res.py +2 -0
  403. maya_mock_completion-0.2.0/maya/app/renderSetup/views/renderSetupStyle.py +63 -0
  404. maya_mock_completion-0.2.0/maya/app/renderSetup/views/renderSetupWindow_res.py +2 -0
  405. maya_mock_completion-0.2.0/maya/app/renderSetup/views/sceneDelegate_res.py +2 -0
  406. maya_mock_completion-0.2.0/maya/app/renderSetup/views/utils.py +146 -0
  407. maya_mock_completion-0.2.0/maya/app/renderSetup/views/utils_res.py +2 -0
  408. maya_mock_completion-0.2.0/maya/app/renderSetup/views/viewCmds.py +291 -0
  409. maya_mock_completion-0.2.0/maya/app/renderSetup/views/viewCmds_res.py +2 -0
  410. maya_mock_completion-0.2.0/maya/app/sceneAssembly/__init__.py +2 -0
  411. maya_mock_completion-0.2.0/maya/app/sceneAssembly/__init___res.py +2 -0
  412. maya_mock_completion-0.2.0/maya/app/sceneAssembly/adskPrepareRender.py +79 -0
  413. maya_mock_completion-0.2.0/maya/app/sceneAssembly/adskPrepareRender_res.py +2 -0
  414. maya_mock_completion-0.2.0/maya/app/sceneAssembly/assemblyReferenceInitialRep.py +109 -0
  415. maya_mock_completion-0.2.0/maya/app/selectionSet/__init__.py +2 -0
  416. maya_mock_completion-0.2.0/maya/app/selectionSet/controller/__init__.py +2 -0
  417. maya_mock_completion-0.2.0/maya/app/selectionSet/model/__init__.py +2 -0
  418. maya_mock_completion-0.2.0/maya/app/selectionSet/model/selectionSet.py +38 -0
  419. maya_mock_completion-0.2.0/maya/app/startup/__init__.py +16 -0
  420. maya_mock_completion-0.2.0/maya/app/startup/basic.py +42 -0
  421. maya_mock_completion-0.2.0/maya/app/startup/batch.py +2 -0
  422. maya_mock_completion-0.2.0/maya/app/startup/dontImportExportAOVs.py +73 -0
  423. maya_mock_completion-0.2.0/maya/app/startup/gui.py +9 -0
  424. maya_mock_completion-0.2.0/maya/app/startup/masterLayerOnExport.py +46 -0
  425. maya_mock_completion-0.2.0/maya/app/startup/masterLayerOnExport_res.py +2 -0
  426. maya_mock_completion-0.2.0/maya/app/stereo/__init__.py +2 -0
  427. maya_mock_completion-0.2.0/maya/app/stereo/cameraSetTool.py +238 -0
  428. maya_mock_completion-0.2.0/maya/app/stereo/cameraSetTool_res.py +2 -0
  429. maya_mock_completion-0.2.0/maya/app/stereo/multiRig.py +232 -0
  430. maya_mock_completion-0.2.0/maya/app/stereo/multiRig_res.py +2 -0
  431. maya_mock_completion-0.2.0/maya/app/stereo/stereoCameraComplexRig.py +39 -0
  432. maya_mock_completion-0.2.0/maya/app/stereo/stereoCameraCustomPanel.py +211 -0
  433. maya_mock_completion-0.2.0/maya/app/stereo/stereoCameraDefaultRig.py +46 -0
  434. maya_mock_completion-0.2.0/maya/app/stereo/stereoCameraErrors.py +26 -0
  435. maya_mock_completion-0.2.0/maya/app/stereo/stereoCameraErrors_res.py +2 -0
  436. maya_mock_completion-0.2.0/maya/app/stereo/stereoCameraFetchMelVar.py +13 -0
  437. maya_mock_completion-0.2.0/maya/app/stereo/stereoCameraHierarchicalRig.py +19 -0
  438. maya_mock_completion-0.2.0/maya/app/stereo/stereoCameraMenus_res.py +2 -0
  439. maya_mock_completion-0.2.0/maya/app/stereo/stereoCameraProxyRig.py +32 -0
  440. maya_mock_completion-0.2.0/maya/app/stereo/stereoCameraRig.py +137 -0
  441. maya_mock_completion-0.2.0/maya/app/stereo/stereoCameraSets.py +108 -0
  442. maya_mock_completion-0.2.0/maya/app/stereo/stereoCameraSettings_res.py +2 -0
  443. maya_mock_completion-0.2.0/maya/app/stereo/stereoCameraUILabel.py +90 -0
  444. maya_mock_completion-0.2.0/maya/app/stereo/stereoCameraUtil.py +35 -0
  445. maya_mock_completion-0.2.0/maya/app/stereo/stereoRigToolEditor.py +62 -0
  446. maya_mock_completion-0.2.0/maya/app/stereo/stereoRigToolEditor_res.py +2 -0
  447. maya_mock_completion-0.2.0/maya/app/type/AEsvgToPolyTemplate.py +210 -0
  448. maya_mock_completion-0.2.0/maya/app/type/AEtypeTemplate.py +221 -0
  449. maya_mock_completion-0.2.0/maya/app/type/AEtypeTemplate_res.py +6 -0
  450. maya_mock_completion-0.2.0/maya/app/type/TypeAnimTextWidget.py +79 -0
  451. maya_mock_completion-0.2.0/maya/app/type/__init__.py +2 -0
  452. maya_mock_completion-0.2.0/maya/app/type/legacy/__init__.py +2 -0
  453. maya_mock_completion-0.2.0/maya/app/type/legacy/arabicConvert.py +60 -0
  454. maya_mock_completion-0.2.0/maya/app/type/plugin.py +26 -0
  455. maya_mock_completion-0.2.0/maya/app/type/svgSetup.py +29 -0
  456. maya_mock_completion-0.2.0/maya/app/type/templates.py +5 -0
  457. maya_mock_completion-0.2.0/maya/app/type/typeToolSetup.py +32 -0
  458. maya_mock_completion-0.2.0/maya/app/type/typeUtilityScripts.py +99 -0
  459. maya_mock_completion-0.2.0/maya/cmds/__init__.py +10642 -0
  460. maya_mock_completion-0.2.0/maya/cmds/custom_cmds.py +9 -0
  461. maya_mock_completion-0.2.0/maya/colorManagementUtilities.py +47 -0
  462. maya_mock_completion-0.2.0/maya/common/__init__.py +2 -0
  463. maya_mock_completion-0.2.0/maya/common/ui.py +168 -0
  464. maya_mock_completion-0.2.0/maya/common/ui_res.py +2 -0
  465. maya_mock_completion-0.2.0/maya/common/utils.py +80 -0
  466. maya_mock_completion-0.2.0/maya/debug/DGState.py +234 -0
  467. maya_mock_completion-0.2.0/maya/debug/DebugTrace.py +105 -0
  468. maya_mock_completion-0.2.0/maya/debug/DeformerEvaluatorManager.py +100 -0
  469. maya_mock_completion-0.2.0/maya/debug/EMState.py +61 -0
  470. maya_mock_completion-0.2.0/maya/debug/EvaluatorManager.py +180 -0
  471. maya_mock_completion-0.2.0/maya/debug/EvaluatorManager_res.py +2 -0
  472. maya_mock_completion-0.2.0/maya/debug/GraphVizManager.py +59 -0
  473. maya_mock_completion-0.2.0/maya/debug/GraphVizManager_res.py +2 -0
  474. maya_mock_completion-0.2.0/maya/debug/PlaybackManager.py +220 -0
  475. maya_mock_completion-0.2.0/maya/debug/SceneLintWindow.py +202 -0
  476. maya_mock_completion-0.2.0/maya/debug/SceneLintWindow_res.py +2 -0
  477. maya_mock_completion-0.2.0/maya/debug/TODO.py +68 -0
  478. maya_mock_completion-0.2.0/maya/debug/__init__.py +2 -0
  479. maya_mock_completion-0.2.0/maya/debug/cacheCorrectnessTest.py +157 -0
  480. maya_mock_completion-0.2.0/maya/debug/closeness.py +91 -0
  481. maya_mock_completion-0.2.0/maya/debug/correctnessUtils.py +173 -0
  482. maya_mock_completion-0.2.0/maya/debug/current_debug_capabilities.py +155 -0
  483. maya_mock_completion-0.2.0/maya/debug/dbtrace_ui.py +136 -0
  484. maya_mock_completion-0.2.0/maya/debug/dbtrace_ui_res.py +2 -0
  485. maya_mock_completion-0.2.0/maya/debug/dirtyState.py +132 -0
  486. maya_mock_completion-0.2.0/maya/debug/emConsistencyTest.py +101 -0
  487. maya_mock_completion-0.2.0/maya/debug/emCorrectnessTest.py +191 -0
  488. maya_mock_completion-0.2.0/maya/debug/emModeManager.py +178 -0
  489. maya_mock_completion-0.2.0/maya/debug/emPerformanceTest.py +504 -0
  490. maya_mock_completion-0.2.0/maya/debug/emPerformanceTest_res.py +2 -0
  491. maya_mock_completion-0.2.0/maya/debug/em_debug_utilities.py +197 -0
  492. maya_mock_completion-0.2.0/maya/debug/em_debug_utilities_res.py +2 -0
  493. maya_mock_completion-0.2.0/maya/debug/frozenUtilities.py +90 -0
  494. maya_mock_completion-0.2.0/maya/debug/graphStructure.py +344 -0
  495. maya_mock_completion-0.2.0/maya/debug/measureMPxTransformPerformance.py +44 -0
  496. maya_mock_completion-0.2.0/maya/decorators.py +25 -0
  497. maya_mock_completion-0.2.0/maya/maya_to_py_itr.py +112 -0
  498. maya_mock_completion-0.2.0/maya/mel/__init__.py +24 -0
  499. maya_mock_completion-0.2.0/maya/mel/melutils.py +44 -0
  500. maya_mock_completion-0.2.0/maya/mmc_hierarchy.py +199 -0
  501. maya_mock_completion-0.2.0/maya/mmc_selection.py +63 -0
  502. maya_mock_completion-0.2.0/maya/mmc_visualizer.py +479 -0
  503. maya_mock_completion-0.2.0/maya/plugin/__init__.py +2 -0
  504. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheEvaluatorManager.py +311 -0
  505. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheEvaluatorManager_res.py +2 -0
  506. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheScriptJobHelper.py +68 -0
  507. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiBase.py +76 -0
  508. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiColour.py +153 -0
  509. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiColour_res.py +2 -0
  510. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiFullLayout.py +158 -0
  511. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiFullLayout_res.py +2 -0
  512. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiHud.py +139 -0
  513. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiHud_res.py +2 -0
  514. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiMenu.py +94 -0
  515. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiMenu_res.py +2 -0
  516. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiPreferencesTab.py +94 -0
  517. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiPreferencesTab_res.py +2 -0
  518. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiTimesliderPreferences.py +146 -0
  519. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiTimesliderPreferences_res.py +2 -0
  520. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiToggle.py +210 -0
  521. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiToggle_res.py +2 -0
  522. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiToolkit.py +225 -0
  523. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheUiToolkit_res.py +2 -0
  524. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheWarningMessages.py +113 -0
  525. maya_mock_completion-0.2.0/maya/plugin/evaluator/CacheWarningMessages_res.py +2 -0
  526. maya_mock_completion-0.2.0/maya/plugin/evaluator/CachingScope.py +122 -0
  527. maya_mock_completion-0.2.0/maya/plugin/evaluator/EvaluationToolkitSectionCaching.py +172 -0
  528. maya_mock_completion-0.2.0/maya/plugin/evaluator/EvaluationToolkitSectionCaching_res.py +2 -0
  529. maya_mock_completion-0.2.0/maya/plugin/evaluator/__init__.py +2 -0
  530. maya_mock_completion-0.2.0/maya/plugin/evaluator/cache_optionvar_states.py +199 -0
  531. maya_mock_completion-0.2.0/maya/plugin/evaluator/cache_optionvar_states_res.py +2 -0
  532. maya_mock_completion-0.2.0/maya/plugin/evaluator/cache_preferences.py +357 -0
  533. maya_mock_completion-0.2.0/maya/plugin/evaluator/cache_preferences_res.py +2 -0
  534. maya_mock_completion-0.2.0/maya/plugin/evaluator/cache_ui.py +127 -0
  535. maya_mock_completion-0.2.0/maya/plugin/evaluator/customEvaluatorUI.py +62 -0
  536. maya_mock_completion-0.2.0/maya/plugin/profilerDump/__init__.py +2 -0
  537. maya_mock_completion-0.2.0/maya/plugin/profilerDump/profilerDump.py +57 -0
  538. maya_mock_completion-0.2.0/maya/precomp.py +4 -0
  539. maya_mock_completion-0.2.0/maya/standalone.py +10 -0
  540. maya_mock_completion-0.2.0/maya/unsupported/__init__.py +2 -0
  541. maya_mock_completion-0.2.0/maya/unsupported/convertToPre2009Workspace.py +19 -0
  542. maya_mock_completion-0.2.0/maya/utils.py +440 -0
  543. maya_mock_completion-0.2.0/maya_mock_completion.egg-info/PKG-INFO +107 -0
  544. maya_mock_completion-0.2.0/maya_mock_completion.egg-info/SOURCES.txt +1234 -0
  545. maya_mock_completion-0.2.0/maya_mock_completion.egg-info/dependency_links.txt +1 -0
  546. maya_mock_completion-0.2.0/maya_mock_completion.egg-info/requires.txt +4 -0
  547. maya_mock_completion-0.2.0/maya_mock_completion.egg-info/top_level.txt +3 -0
  548. maya_mock_completion-0.2.0/mmc_output/__init__.py +0 -0
  549. maya_mock_completion-0.2.0/mmc_output/attibutes_io_names.py +27 -0
  550. maya_mock_completion-0.2.0/mmc_output/attribute_literals.py +2026 -0
  551. maya_mock_completion-0.2.0/mmc_output/attribute_properties.py +33541 -0
  552. maya_mock_completion-0.2.0/mmc_output/mmc_node_types_alias_map.py +637 -0
  553. maya_mock_completion-0.2.0/mmc_output/node_types.py +1 -0
  554. maya_mock_completion-0.2.0/mmc_output/node_types_literals.py +1 -0
  555. maya_mock_completion-0.2.0/mmc_output/node_types_to_shapes.py +126 -0
  556. maya_mock_completion-0.2.0/pymel/__init__.py +23 -0
  557. maya_mock_completion-0.2.0/pymel/all.py +18 -0
  558. maya_mock_completion-0.2.0/pymel/api/__init__.py +651 -0
  559. maya_mock_completion-0.2.0/pymel/api/allapi.py +866 -0
  560. maya_mock_completion-0.2.0/pymel/api/plugins.py +476 -0
  561. maya_mock_completion-0.2.0/pymel/core/__init__.py +51 -0
  562. maya_mock_completion-0.2.0/pymel/core/animation.py +8299 -0
  563. maya_mock_completion-0.2.0/pymel/core/context.py +2674 -0
  564. maya_mock_completion-0.2.0/pymel/core/datatypes.py +3273 -0
  565. maya_mock_completion-0.2.0/pymel/core/effects.py +2325 -0
  566. maya_mock_completion-0.2.0/pymel/core/general.py +9163 -0
  567. maya_mock_completion-0.2.0/pymel/core/language.py +1427 -0
  568. maya_mock_completion-0.2.0/pymel/core/modeling.py +13657 -0
  569. maya_mock_completion-0.2.0/pymel/core/nodetypes.py +89712 -0
  570. maya_mock_completion-0.2.0/pymel/core/other.py +1015 -0
  571. maya_mock_completion-0.2.0/pymel/core/rendering.py +3676 -0
  572. maya_mock_completion-0.2.0/pymel/core/runtime.py +3069 -0
  573. maya_mock_completion-0.2.0/pymel/core/system.py +3474 -0
  574. maya_mock_completion-0.2.0/pymel/core/uitypes.py +77867 -0
  575. maya_mock_completion-0.2.0/pymel/core/windows.py +32072 -0
  576. maya_mock_completion-0.2.0/pymel/internal/__init__.py +9 -0
  577. maya_mock_completion-0.2.0/pymel/internal/apicache.py +263 -0
  578. maya_mock_completion-0.2.0/pymel/internal/cmdcache.py +119 -0
  579. maya_mock_completion-0.2.0/pymel/internal/docstrings.py +101 -0
  580. maya_mock_completion-0.2.0/pymel/internal/factories.py +1446 -0
  581. maya_mock_completion-0.2.0/pymel/internal/parsers.py +292 -0
  582. maya_mock_completion-0.2.0/pymel/internal/plogging.py +164 -0
  583. maya_mock_completion-0.2.0/pymel/internal/pmcmds.py +59728 -0
  584. maya_mock_completion-0.2.0/pymel/internal/pwarnings.py +99 -0
  585. maya_mock_completion-0.2.0/pymel/internal/startup.py +301 -0
  586. maya_mock_completion-0.2.0/pymel/mayautils.py +141 -0
  587. maya_mock_completion-0.2.0/pymel/tools/__init__.py +12 -0
  588. maya_mock_completion-0.2.0/pymel/tools/envparse.py +152 -0
  589. maya_mock_completion-0.2.0/pymel/tools/loggingControl.py +40 -0
  590. maya_mock_completion-0.2.0/pymel/tools/mel2py/__init__.py +315 -0
  591. maya_mock_completion-0.2.0/pymel/tools/mel2py/mellex.py +184 -0
  592. maya_mock_completion-0.2.0/pymel/tools/mel2py/melparse.py +1118 -0
  593. maya_mock_completion-0.2.0/pymel/tools/mel2py/melscan.py +190 -0
  594. maya_mock_completion-0.2.0/pymel/tools/py2mel.py +258 -0
  595. maya_mock_completion-0.2.0/pymel/util/__init__.py +37 -0
  596. maya_mock_completion-0.2.0/pymel/util/arguments.py +414 -0
  597. maya_mock_completion-0.2.0/pymel/util/arrays.py +5554 -0
  598. maya_mock_completion-0.2.0/pymel/util/common.py +89 -0
  599. maya_mock_completion-0.2.0/pymel/util/conditions.py +71 -0
  600. maya_mock_completion-0.2.0/pymel/util/decoration.py +42 -0
  601. maya_mock_completion-0.2.0/pymel/util/enum.py +397 -0
  602. maya_mock_completion-0.2.0/pymel/util/external/BeautifulSoup.py +920 -0
  603. maya_mock_completion-0.2.0/pymel/util/external/__init__.py +2 -0
  604. maya_mock_completion-0.2.0/pymel/util/external/ply/__init__.py +7 -0
  605. maya_mock_completion-0.2.0/pymel/util/external/ply/cpp.py +150 -0
  606. maya_mock_completion-0.2.0/pymel/util/external/ply/ctokens.py +130 -0
  607. maya_mock_completion-0.2.0/pymel/util/external/ply/lex.py +313 -0
  608. maya_mock_completion-0.2.0/pymel/util/external/ply/yacc.py +553 -0
  609. maya_mock_completion-0.2.0/pymel/util/mathutils.py +145 -0
  610. maya_mock_completion-0.2.0/pymel/util/namedtuple.py +4 -0
  611. maya_mock_completion-0.2.0/pymel/util/nameparse.py +1608 -0
  612. maya_mock_completion-0.2.0/pymel/util/objectParser.py +772 -0
  613. maya_mock_completion-0.2.0/pymel/util/path.py +1196 -0
  614. maya_mock_completion-0.2.0/pymel/util/picklezip.py +23 -0
  615. maya_mock_completion-0.2.0/pymel/util/scanf.py +421 -0
  616. maya_mock_completion-0.2.0/pymel/util/shell.py +161 -0
  617. maya_mock_completion-0.2.0/pymel/util/testing.py +242 -0
  618. maya_mock_completion-0.2.0/pymel/util/trees.py +1761 -0
  619. maya_mock_completion-0.2.0/pymel/util/utilitytypes.py +1160 -0
  620. maya_mock_completion-0.2.0/pymel/versions.py +255 -0
  621. maya_mock_completion-0.2.0/setup.cfg +4 -0
  622. maya_mock_completion-0.2.0/setup.py +31 -0
  623. maya_mock_completion-0.2.0/tests/test_mmc.py +751 -0
  624. maya_mock_completion-0.2.0/tests/test_mvector.py +100 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Bernat Mas
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,107 @@
1
+ Metadata-Version: 2.1
2
+ Name: maya_mock_completion
3
+ Version: 0.2.0
4
+ Summary: A mock version of the Autodesk maya libraries to run code intended for maya using a regular Python interpreterfrom a virtual environment.
5
+ Home-page: https://github.com/mrbmp33/maya_mock_completion
6
+ Author: Bernat Mas Pastor
7
+ Author-email: bmp33@duck.com
8
+ License: MIT
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Programming Language :: Python :: 3.10
11
+ Classifier: Operating System :: OS Independent
12
+ Requires-Python: >=3.10
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE
15
+ Requires-Dist: cmdx>=0.6.4
16
+ Provides-Extra: dev
17
+ Requires-Dist: twine>=4.0.2; extra == "dev"
18
+
19
+ # MAYA MOCK COMPLETION
20
+
21
+ This project is a custom modification of Maya's *commands/api* stub libraries that allows you to execute python code that uses these libraries from a regular python interpreter, ideally the one from your venv.
22
+
23
+ Developing code for Maya can be a bit sluggish since it normally takes the following steps:
24
+
25
+ - Opening Maya (maybe multiple times).
26
+ - Setting up a way to send the code from your IDE to Maya.
27
+ - Setting up the command completion to get Maya's libraries on your IDE.
28
+ - Once code is sent, you need to refresh it to apply the changes unless you want to restart the app.
29
+
30
+ Also, if you are building your own packages you might have other dependencies that you might not want to install to your *mayapy* interpreter. Because of this you might have a separate virtual environment that contains these, but you cannot use a *mayapy* as a base interpreter for creating venvs.
31
+
32
+ What this package allows you is to separate your code from Maya to a certain degree. By installing this "mock" completion you can use Maya's libraries using a regular python interpreter.
33
+
34
+ This is different from using the application in *standalone* mode since you won't be initializing any maya at all.
35
+
36
+ > **Important:** The code will run since it will find Maya's modules (cmds, pymel, api...), and they won't throw any errors due to Maya not being open. However, **please notice that the objects generated by the api only return proxy objects and commands don't do anything real. They just "*pass*" or return other proxy objects with some information to manage them**.
37
+ >
38
+
39
+ The utility from this is that you can play with these proxy objects and commands in a way that mimics Maya's behavior. Then, when you want you can execute that same code inside Maya and it should behave the same way but providing a meaningful output.
40
+
41
+ This can also be useful for quick UI development, making unittests and running them from your IDE of choice or making your code just more abstract overall by removing the necessity to run the code inside Maya.
42
+
43
+ ## How to use
44
+
45
+ You can do one of the following:
46
+ - Install this package via pip once it is available on pypi and just import the modules on your code as normal.
47
+ - Save this package in your directory of choice and add the path to it to your interpreter's list of paths manually.
48
+
49
+ Then you should be able to run the code using the normal python interpreter.
50
+
51
+ ```python
52
+ # Imports won't crash
53
+ import maya.cmds as mc
54
+ import maya.api.OpenMaya as om
55
+
56
+ mc.createNode('transform', name='mmc') # Should provide flags suggestions with correct typing inference, but it won't do anything
57
+
58
+ sel_ls = om.MGlobal.getActiveSelectionList() # Returns proxy MSelectionList
59
+
60
+ mobject = sel_ls.getDependNode(0) # Get MObject from active selection
61
+
62
+ dep = om.MFnDependencyNode(mobject) # Can initialize function sets
63
+
64
+ dep.name() # >>> mmc
65
+ ```
66
+
67
+ ## Important! Node types and attribute caches
68
+
69
+ To determine if a node type exists or if an attribute exists on a node (alongisde their specs e.g. *is_array*, *is_element*, *attribute_types*), MMC uses some cache files.
70
+
71
+ Because of the sheer number of properties of nodes and attributes, a challenge this project faces is keeping the size of these files reasonable. However, that also means they might not cater your specific needs and so they might require updating based on your project's needs if one of these conditions apply:
72
+
73
+ 1. *You are using custom nodes or nodes from plugins*. These have IDs and names that mmc cannot recognize from the get go.
74
+
75
+ 2. *You are using a different maya version that contains node types not defined in the maps*.
76
+
77
+ 3. You are using attributes from nodes that where not picked for the default mapping of attribute info.
78
+
79
+ ### Attribute properties cache file
80
+
81
+ You will find the attributes cache file in `maya/attribute_properties.py`. To update it you will have to modify the `maya/generate_attrs_json.py` by adding the desired node types to query all of their attributes.
82
+
83
+ Then, you just simply have to define the desired output locations for the output cache files. Defaults:
84
+
85
+ ```
86
+ {project_root}\maya\attribute_properties.py # <-- contains attr info
87
+ {project_root}\maya\attribute_literals.py # <-- for completions
88
+ ```
89
+
90
+ ### Node types cache
91
+
92
+ This one lives inside the `maya.api.OpenMaya` module (at the bottom of the file).
93
+ There is no current implementation to load these on runtime so I'd advise you to add your personal node MTypeIds from plugin nodes there.
94
+
95
+ Keep in mind that you will also have to add the matching string name and the type constant in MFnBase.
96
+
97
+ This implementation is still in process (no E.T.A, sorry).
98
+
99
+ # Disclaimers
100
+
101
+ - PySide2's completion hasn't been added in case you might want to run UI code using the real library. If this is not what you want you can use the same principle to run the code in the same way.
102
+
103
+ - This project is just a concept of a workflow. It might have its shortcomings, and it hasn't been tested in a real production, so I am not entirely sure how useful or reliable it actually is.
104
+
105
+ - This is still being updated as not all methods of the API mock completion return proxy objects. That is to say these will get updated as they are required.
106
+
107
+ Cheers and have fun!
@@ -0,0 +1,89 @@
1
+ # MAYA MOCK COMPLETION
2
+
3
+ This project is a custom modification of Maya's *commands/api* stub libraries that allows you to execute python code that uses these libraries from a regular python interpreter, ideally the one from your venv.
4
+
5
+ Developing code for Maya can be a bit sluggish since it normally takes the following steps:
6
+
7
+ - Opening Maya (maybe multiple times).
8
+ - Setting up a way to send the code from your IDE to Maya.
9
+ - Setting up the command completion to get Maya's libraries on your IDE.
10
+ - Once code is sent, you need to refresh it to apply the changes unless you want to restart the app.
11
+
12
+ Also, if you are building your own packages you might have other dependencies that you might not want to install to your *mayapy* interpreter. Because of this you might have a separate virtual environment that contains these, but you cannot use a *mayapy* as a base interpreter for creating venvs.
13
+
14
+ What this package allows you is to separate your code from Maya to a certain degree. By installing this "mock" completion you can use Maya's libraries using a regular python interpreter.
15
+
16
+ This is different from using the application in *standalone* mode since you won't be initializing any maya at all.
17
+
18
+ > **Important:** The code will run since it will find Maya's modules (cmds, pymel, api...), and they won't throw any errors due to Maya not being open. However, **please notice that the objects generated by the api only return proxy objects and commands don't do anything real. They just "*pass*" or return other proxy objects with some information to manage them**.
19
+ >
20
+
21
+ The utility from this is that you can play with these proxy objects and commands in a way that mimics Maya's behavior. Then, when you want you can execute that same code inside Maya and it should behave the same way but providing a meaningful output.
22
+
23
+ This can also be useful for quick UI development, making unittests and running them from your IDE of choice or making your code just more abstract overall by removing the necessity to run the code inside Maya.
24
+
25
+ ## How to use
26
+
27
+ You can do one of the following:
28
+ - Install this package via pip once it is available on pypi and just import the modules on your code as normal.
29
+ - Save this package in your directory of choice and add the path to it to your interpreter's list of paths manually.
30
+
31
+ Then you should be able to run the code using the normal python interpreter.
32
+
33
+ ```python
34
+ # Imports won't crash
35
+ import maya.cmds as mc
36
+ import maya.api.OpenMaya as om
37
+
38
+ mc.createNode('transform', name='mmc') # Should provide flags suggestions with correct typing inference, but it won't do anything
39
+
40
+ sel_ls = om.MGlobal.getActiveSelectionList() # Returns proxy MSelectionList
41
+
42
+ mobject = sel_ls.getDependNode(0) # Get MObject from active selection
43
+
44
+ dep = om.MFnDependencyNode(mobject) # Can initialize function sets
45
+
46
+ dep.name() # >>> mmc
47
+ ```
48
+
49
+ ## Important! Node types and attribute caches
50
+
51
+ To determine if a node type exists or if an attribute exists on a node (alongisde their specs e.g. *is_array*, *is_element*, *attribute_types*), MMC uses some cache files.
52
+
53
+ Because of the sheer number of properties of nodes and attributes, a challenge this project faces is keeping the size of these files reasonable. However, that also means they might not cater your specific needs and so they might require updating based on your project's needs if one of these conditions apply:
54
+
55
+ 1. *You are using custom nodes or nodes from plugins*. These have IDs and names that mmc cannot recognize from the get go.
56
+
57
+ 2. *You are using a different maya version that contains node types not defined in the maps*.
58
+
59
+ 3. You are using attributes from nodes that where not picked for the default mapping of attribute info.
60
+
61
+ ### Attribute properties cache file
62
+
63
+ You will find the attributes cache file in `maya/attribute_properties.py`. To update it you will have to modify the `maya/generate_attrs_json.py` by adding the desired node types to query all of their attributes.
64
+
65
+ Then, you just simply have to define the desired output locations for the output cache files. Defaults:
66
+
67
+ ```
68
+ {project_root}\maya\attribute_properties.py # <-- contains attr info
69
+ {project_root}\maya\attribute_literals.py # <-- for completions
70
+ ```
71
+
72
+ ### Node types cache
73
+
74
+ This one lives inside the `maya.api.OpenMaya` module (at the bottom of the file).
75
+ There is no current implementation to load these on runtime so I'd advise you to add your personal node MTypeIds from plugin nodes there.
76
+
77
+ Keep in mind that you will also have to add the matching string name and the type constant in MFnBase.
78
+
79
+ This implementation is still in process (no E.T.A, sorry).
80
+
81
+ # Disclaimers
82
+
83
+ - PySide2's completion hasn't been added in case you might want to run UI code using the real library. If this is not what you want you can use the same principle to run the code in the same way.
84
+
85
+ - This project is just a concept of a workflow. It might have its shortcomings, and it hasn't been tested in a real production, so I am not entirely sure how useful or reliable it actually is.
86
+
87
+ - This is still being updated as not all methods of the API mock completion return proxy objects. That is to say these will get updated as they are required.
88
+
89
+ Cheers and have fun!