Maya API Test】的更多相关文章

import maya.OpenMaya as OpenMaya import maya.OpenMayaMPx as OpenMayaMPx sl = OpenMaya.MSelectionList() OpenMaya.MGlobal.getActiveSelectionList(sl) itersl = OpenMaya.MItSelectionList(sl, OpenMaya.MFn.kDagNode) dagPath = OpenMaya.MDagPath() dagFn = Ope…
为加深记忆和理解Maya的Polygon,尝试利用空闲时间翻译Maya Api文档相关章节. How polygons are handled internally - 多边形是如何在内部处理的…
一.Maya API编程简介 Autodesk® Maya® is an open product. This means that anyone outside of Autodesk can change Maya's existing features or add entirely new features. There are several ways you can modify Maya: · MEL™-(Maya Embedded Language) is a powerful…
#include <maya/MSimple.h> #include <maya/MIOStream.h> DeclareSimpleCommand( hello, "); MStatus hello::doIt( const MArgList& args ) { cout << ).asChar() << endl; return MS::kSuccess; } MArgList接受来自MEL command输入的命令参数. 一个创建NU…
Following the official guid: http://help.autodesk.com/cloudhelp/2015/ENU/Maya-SDK/files/Setting_up_your_build_environment_Linux_environments_32bit_and_64bit.htm I still encountered several errors, and here is the way how I came out. Here is the steps…
Maya C++ API Programming Tips source : http://wanochoi.com/?page_id=1588 How to handle the multiple outputs of a DG node ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 MStatus MyNode::initialize() {    MFnNumericAttribute n…
My system is CentOS7 x64, Maya2015 x64 for Linux. - Make sure that your project is built with flag -g - Start Maya, and find out the process ID of maya.bin. e.g. you can find the process ID in System Monitor. This is my screenshot, and my maya.bin's…
1. The control points are attributes on the shape which are usually arrays of points. Control points become interactive, i.e. they can be selected and manipulated, by associating the control point attributes with a component.Components are objects (M…
1. MAYA API支持不同类型的plugin (1)Command Plugin——扩充MEL命令 (2)Tool Commands——通过鼠标输出 (3)DG plugin——对场景添加新的操作 (4)Device Plugin——让其他的device链接到maya 2. register 命令:MFnPlugin 例子: #include <stdio.h> #include <maya/MString.h> #include <maya/MArgList.h>…
使用osg加载fbx模型,需要自己编译fbx插件,编译流程与插件使用案例如下 代码地址:https://github.com/shelltdf/osgFBX CMake Error: The following variables are used in this project, but they are set to NOTFOUND.Please set them or make sure they are set and tested correctly in the CMake fil…