biddle
@biddle
New Member
Joined: Feb 15, 2024
Topics: 3 / Replies: 128
Reply
RE: dotNet WPF window using Maxscript

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 …

16 years ago
Forum
Reply
RE: dotNet WPF window using Maxscript

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! …

16 years ago
Forum
Reply
RE: dotNet WPF window using Maxscript

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 …

16 years ago
Forum
Reply
RE: dotNet WPF window using Maxscript

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…

16 years ago
Forum
Reply
RE: Regular Expression named capture group problem

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…

16 years ago
Forum
Reply
RE: Regular Expression named capture group problem

Maybe something like this? “([crs][0-9]{2})(_\1){2}dirt” –test pattern = @”([crs][0-9]{2})(_\1){2}dirt” regex = dotnetobject “s…

16 years ago
Forum
Reply
RE: does anybody use DevExpress.XtraGrid.Views.Layout.LayoutView

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 …

16 years ago
Forum
Reply
RE: Can we change the color of dotNet listView's column header?

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…

16 years ago
Forum
Reply
RE: Custom Ribbon UI?

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. …

16 years ago
Forum
Reply
RE: XtraTreeList getValue

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 …

16 years ago
Forum
Reply
RE: XtraTreeList getValue

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() …

16 years ago
Forum
Reply
RE: XtraTreeList getValue

BRILLIANT! Serves me right for bitching about asdotnetObject not working for methods without actually testing it Here it is –without any C# tr…

16 years ago
Forum
Reply
RE: XtraTreeList getValue

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…

16 years ago
Forum
Reply
RE: XtraTreeList getValue

“decimal == integer” <sigh> I was thinking about using the getProperty asDotNetObject:true and convert trick, but I don’t think you can use it…

16 years ago
Forum
Reply
RE: XtraTreeList getValue

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…

16 years ago
Forum
Page 8 / 9