Notifications
Clear all

[Closed] .net WPF Thread

Hi, as a learning exercise I am currently planning and developing a .net WPF UI designer for using with 3dsMax. I thought it would be good to start a thread on .net WPF because I have found it to be very different from winforms and slow to wrap my head around.

To start off the thread I wanted to post a tutorial that has helped me create custom controls that can be moved, rotated and scaled. It has nothing to do with the integration with Max but could be useful to some of you.

WPFDiagramDesigner_Part1

Jamell

2 Replies

Cool, good idea!

Yeah, I’ve also just started looking into this. I know Max can execute a line of Xaml without loading any external files, but I’m not sure how to do it with .dlls.

James Haywood has some examples, but I don’t think shows how to make something in Visual Studio in C# / WPF and get it I working in max.

I was also looking at LoneRobots site, and tried to do his Photoshop example with Visual Studio in VB, compiling 2 .dlls and trying to load them into Max 2010. I’m not sure if it’s because I’m using CS5, but 1 of the .dlls kept having an issue with not finding a URL.

Once I get the controls integrated working in max I’ll try to create a tutorial. Might be a while though because I am doing this in spare time. It will be pretty much the same way you would create one using winforms because they are both .net classes at the end of the day. You would pretty much have to just create some events for max to register to.

I haven’t tried the Photoshop example so can’t really help you on that.

Jamell