[Maya C++] Set up the Maya Plugin Wizard

本文提供了使用Maya 2008/2009与Visual Studio 2008进行插件开发的资源链接及步骤指导。通过创建默认设置的插件项目并修改示例代码,可以实现简单的插件功能并加载到Maya中进行测试。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Maya 2008 & VS 2008: http://www.rayfile.com/files/958fa1c7-ed28-11dd-9208-0014221b798a/

Maya 2009 & VS 2008: http://www.rayfile.com/files/5fa3fa2e-ed28-11dd-afab-0019d11a795f/

Follow the readme file in those archived files copy needed files and folders to destination.

For test only:

Create a plug-in project with default settings. Open the C++ file, add following line at the beginning of the file:

#include<maya/MGlobal.h>

Change the following line:

setResult("helloWorld command executed!");

to:

MGlobal::dispalyInfo("Hello World/n");

Save file, Build.

Next, open maya, from Window->Settings & Preferences -> Plug-in Manager, load the new plug-in created.

Then in the script editor, type in the plug-in name and execute to see the result.

 

 

The rectified version: http://www.rayfile.com/files/59a4912b-eed2-11dd-b2c4-0014221b798a/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值