2016년 4월 3일 일요일

maya standalone

maya standalone

try:    
    import maya.standalone    
    maya.standalone.initialize()   
except:    
    pass

참고링크


라벨: ,

2014년 2월 23일 일요일

mayapy 마야 밖에서 가지고 놀기.

"""
import maya.standalone
import maya.cmds as cmds
maya.standalone.initialize() 
"""
# 밑 메뉴얼을 읽을것!

http://download.autodesk.com/global/docs/maya2014/en_us/index.html?url=files/Python_Python_from_an_external_interpreter.htm,topicNumber=d30e815354

라벨:

2012년 1월 29일 일요일

좌표값으로 면찾기.

maya api, pymel

getClosestPoint

라벨:

마야 파일 임포트 할때 파일에 있는 노드 리스트 얻기.

Maya python command (file)

returnNewNodes(rnn) (boolean,C)
Used to control the return value in open, import, loadReference, and reference operations. It will force file command to return a list of new nodes added to the current scene.

EX)

cmds.file ('file.mb',i=1,rnn=1)

라벨: