I think the biggest takeaway is that you separate all the ‘ui’ code out into xaml leaving only the binding to events in a maxscript loader. The xaml …
Here’s a little WPF demo. I just verified that it works as far back as Max 9 (32bit) as long as you have a recompiled MXSDotNet.dlx [EDIT: Whoops! …
You can try compiling in release mode, I just got sick and tired of trying to pin down what worked with what and have stuck with the debug builds. If …
I feel your pain. The only way I was able to get WPF integration working reliably through maxscript was to re-compile the mxsdotnet.dlx plugin in DEB…
Try this one: ([crs][0-9]{2})(dirt)?(_\1(dirt)?){2}$ pattern = @”([crs][0-9]{2})(dirt)?(_\1(dirt)?){2}$” regex = dotnetobject “system.text.regulare…
Maybe something like this? “([crs][0-9]{2})(_\1){2}dirt” –test pattern = @”([crs][0-9]{2})(_\1){2}dirt” regex = dotnetobject “s…
Perhaps we should lobby Autodesk to license the DXExperience WinForms suite and bundle it in with the 2010 service pack? Anyhow, if you have a legal …
If you are adding controls to a form you can add the required events to support ownerdraw manually and change the colour of the column header: Brus…
The DevExpress XtraBars dll isn’t part of the Max install. It appears that only the XtraTreeList suite was licensed from DevExpress for use in Max. …
Ok, so here is where we go for extra credit – my gut tells me it shouldn’t be stupid slow (unless it’s MXS getting to snoop all the events) Have you …
FWIW, You can access the getters and setters of a .NET object properties through methods. v = foo.xxx can also be expressed as v = foo.get_xxx() …
BRILLIANT! Serves me right for bitching about asdotnetObject not working for methods without actually testing it Here it is –without any C# tr…
I think it would have worked if you could specify that you want the dotnetobject returned from the call to invoke(). Something like: v = s.Invoke no…
“decimal == integer” <sigh> I was thinking about using the getProperty asDotNetObject:true and convert trick, but I don’t think you can use it…
Here is an update. Changes: I made the 2nd arg of GetFloatItem an Object (was an Int32) to so you can pass an XtraTreeListNodeColumn (and not have t…