随笔分类 - Maya
1
maya_scripts
摘要:MAYA_CM_DISABLE_ERROR_POPUPS=1 MAYA_COLOR_MGT_NO_LOGGING=1 Maya.env中添加环境
阅读全文
摘要:""" This will iterate all modelPanels and remove the "CgAbBlastPanelOptChangeCallback" As such, after running this the following error should be fixed
阅读全文
摘要:import pymel.core as pm # 获取 Maya 中的所有模型编辑器并重置编辑器更改事件 for item in pm.lsUI(editors=True): if isinstance(item, pm.ui.ModelEditor): pm.modelEditor(item,
阅读全文
摘要:
Redshift破解工具MaxonAppRedshift_For_Pj 用过手动破解 嫌弃resdhift破解步骤麻烦的可以看这里,比较繁琐,新手操作步骤错乱导致破解失败 鉴于是循环试用方式的破解,避免不了14天后在操作一次,为了方便我就写了一个破解工具三部曲 行业不景气,因为有缘我们相聚,成功靠大
阅读全文

摘要:import maya.cmds as cmds cmds.lockNode('initialShadingGroup', lock=False, lu=False) cmds.lockNode('initialParticleSE', lock=False, lu=False)
阅读全文
摘要:# encoding:utf-8 """ @Author: Meng @software: PyCharm @time: 2023/08/22 20:39 """ import maya.cmds as cmds import pymel.core as pm cmds.workspace(dire
阅读全文
摘要:获取Maya persp窗口(PySide2) from PySide2 import QtGui,QtWidgets import shiboken2 from maya import cmds from maya import OpenMayaUI from maya.app.general i
阅读全文
摘要:from maya.cmds import * from pymel.core import * #查询 def test(): renderlayers = cmds.ls(type="renderLayer") for layer in renderlayers: print layer #se
阅读全文
摘要:import maya.cmds as cmds import maya.mel as mel import maya.OpenMaya as OpenMaya import maya.OpenMayaUI as OpenMayaUI #读取视窗 view = OpenMayaUI.M3dView.
阅读全文
摘要:import maya.cmds as cmds def if_camera(*args) : modernCam=modelPanel("modelPanel4", q=1, cam=1) keyedCount = cmds.keyframe(modernCam, query=True, keyf
阅读全文
摘要:from PySide2 import QtWidgets, QtCore from shiboken2 import wrapInstance import maya.OpenMayaUI as omUI import pymel.core as pm def dockable_window(wi
阅读全文
摘要:import maya.cmds as cmds def getAttName(fullname): parts = fullname.split('.') return parts[-1] def copyKeyframes(): objs = cmds.ls(selection=True) if
阅读全文
摘要:import maya.cmds as cmds word = cmds.xform('pSphere1',q=1,ws=1,rp=1) print word
阅读全文
摘要:1 import maya.cmds as cmds 2 3 getAllNodes = cmds.ls(type="RedshiftProxyMesh")#redshift 4 #getAllNodes = cmds.ls(type="aiStandIn")#arnold 5 for node i
阅读全文
摘要:# -*- coding: utf-8 -*- """ @Author: Meng @software: PyCharm @file: VRay渲染器渲染属性设置 @time: 2022/03/19 20:39 """ import maya.cmds as cmds mel.eval('unifi
阅读全文
摘要:# encoding:utf-8 """ @Author: Meng @software: PyCharm @file: out_ch_bg.py @time: 2023/01/02 20:39 """ from maya.cmds import *; from pymel.core import
阅读全文
摘要:# -*- coding: utf-8 -*- """ @Author: Meng @software: PyCharm @file: maya渲染器切换.py @time: 2021/10/28 20:49 """ import maya.mel as mel mel.eval('setCurre
阅读全文
1