맥스 스크립트 (1) 썸네일형 리스트형 [3dsMax python] Object with pymxs 전체 씬그래프 탐색 맥스 왼쪽에 보면 레이어와 씬그래프를 볼 수 있는곳이 있습니다. 전체를 가져올때도 좋지만, 특정계층을 오브젝트를 가져올때 유용합니다. from pymxs import runtime as rt def output_node(node, indent=''): """Print the scene graph as text to stdout.""" print(indent, node.Name) for child in node.Children: output_node(child, indent + '--') output_node(rt.rootnode) 계층없이 모든 오브젝트 가져오기 objs = pymxs.runtime.objects for o in objs: print(o.name) 특정 오브젝트 가져오.. 이전 1 다음