Notifications
Clear all

[Closed] .NET – SimpleObject2

I’ve changed the link. Thanks for your help!
About the characters: I’m trying to understand what you mean but don’t really get it. Do you mind posting some code? I could also wait for your github release…

Thanks for checking!

I fear I can’t switch to Max 2014 because I need as much backwards compatibility as I can get. 🙁
Those parameter strings drive me crazy. I think the best will be to completely switch over to a custom WPF window on BeginEditParams and EndEditParams.

It’s possibly the better solution. I would like to see it.

Great! Thank you so much for participating in this challenge!
I will take a look at those files as soon as I can.

About the WPF Window thing, I do the following:

  • create a WPF Window like described here (using a WPF window directly without user control workaround doesn’t work in this case… don’t know why!)
  • in BeginEditParams use Show() to popup the window
  • in EndEditParams use Hide() to popup the window
  • I use a variable “IsCreated” at the end of CreateMouseCallBack (before MouseCreationState.Stop) so that the window doesn’t popup while creating the SimpleObject2
    This gives maximum freedom but kills the “look & feel” of a normal plugin. If there is no good workaround for the string-problem I will stick to that solution!

Now I am fighting against another thing: the mesh only updates after EndEditParams (the window closes). It never gets boring!

By the way: how the hack did you came to the string conversion algorithm?! I pulled my hair out using all kind of conversion strategies…

Again, thank you!
I’m a little bit out of time but I will create an example for you as soon as possible. I can’t share the actual code, not only because it’s a lot of code.

Page 2 / 3