Posted by: | SITT | |
Data created: | 12 April 2010 |
very thanks, i build "add action to 3dsmax main menu" , it's work ,but , after i delete this dll =..= This can be auto cleared when delete plugin.dll ? | |
12 April 2010
#1738 | |
The menu entries can only be manually cleared. You would need to have an uninstaller script remove them. This is the only way I know. Marsel Khadiyev (Software Developer, EPHERE Inc.) | |
12 April 2010
#1739 | |
thanks, i hope show winform in ActionItem ExecuteAction mehod public override bool ExecuteAction() how to get IGlobal global?
| |
12 April 2010
#1740 | |
You need to create a class derived from IPlugin. IGlobal is passed into Initialize(...) method. Marsel Khadiyev (Software Developer, EPHERE Inc.) | |
12 April 2010
#1741 | |
public override bool ExecuteAction()
when i click menuitem , No any response | |
13 April 2010
#1743 | |
You could have your plugin destroy all the menu stuff on application close. | |
15 April 2010
#1748 | |
why,my test project,menu cannot execute action? | |
15 April 2010
#1750 | |
duke, thank you | |
23 April 2010
#1807 | |
why cannot execute action? who can help me? thanks | |
23 April 2010
#1808 | |
I am going to test this now, will let you know what I find. Marsel Khadiyev (Software Developer, EPHERE Inc.) | |
23 April 2010
#1809 | |
I forgot to mention adding MyActionCallback callback class. I have updated the documentation to reflect this. I'm also attaching your updated code that should work now. Marsel Khadiyev (Software Developer, EPHERE Inc.) | |
23 April 2010
#1810 | |
very very thank you,i am a newbie,In the past I use only MaxScript thank you | |
23 April 2010
#1812 | |
No problem, post any questions if you have them and I'll try to answer. Marsel Khadiyev (Software Developer, EPHERE Inc.) | |
29 April 2010
#1847 | |
"You could have your plugin destroy all the menu stuff on application close." I searching Sdk Document with what key word? | |
29 April 2010
#1850 | |
By that I meant "void MenusAndActionsUnregister()" function. You can add code there to remove your menu entry before plugin unloads. Marsel Khadiyev (Software Developer, EPHERE Inc.) | |
29 April 2010
#1856 | |
thank you , i dont know how to do like MaxScript code with max.net --------------------------------- callbacks.addScript #preSystemShutdown "xxxxxx()" -------------------------------- | |
30 April 2010
#1862 | |
class TestExitCallBack : IExitMAXCallback
MaxGlobal.COREInterface.RegisterExitMAXCallback(new TestExitCallBack(this));
cant execute O_O
| |
30 April 2010
#1864 | |
Please derive your class from Autodesk.Max.Plugins.ExitMAXCallback, not IExitMAXCallback. You always derive from class in Plugins namespace. Also have a look here. Marsel Khadiyev (Software Developer, EPHERE Inc.) | |
4 May 2010
#1873 | |
very thanks |