You can’t return a native maxcript Matrix3 from a dotnet object IMatrix3.
Here’s a code with three different methods of accessing the ‘controlSize’ value.
I’m glad I was helpful but… your code still doesn’t work. Try it restarting 3dsMax: it will throw errors. You have problems with variables visibility …
I haven’t seen the purpose of your script, just tryed to make it work. Really too many mistakes. Is all this code from you? You can make it work by: …
In fact, we can pass objects to C#:
Well, it seems that this obstacle is surmountable!
And of course you can use an ‘*.ini’ file to load values in the ‘on open’ event and save them in the ‘on close’ one.
Without additional information, this is my proposal (few maths here):
What about the pivot? It must stay at its relative position after rotations or should it move to its original world position?
Sorry but I can’t understand the challenge. You talk about “re-orient” and about “re-order”, and only with a box that must keep it’s shape, view and o…
This thread is a good example that shows why this forum is doomed to die if we don’t change something. I think we need some basic rules of operation. …
Results updated with Memory Using values. Thanks all of you for your contribution.
Yes, recursion is the key. Both solutions are very similar and give the same time results (a little better DenisT’s one, depending on maxNum and numIt…