Notifications
Clear all

[Closed] Defining Variable in C#

 MZ1

I created a custom control inside C#, there is some functions in ManagedServices.dll to interact with maxscript, like:

MaxscriptSDK.ExecuteMaxscriptCommand

My question is, is it possible to define my custom control as variable when is loaded inside max? something like this?:


MyCustomControl mycontrol = new MyCustomControl() ;
MaxscriptSDK.ExecuteMaxscriptCommand("MyControl="mycontrol);