MZ1
@mz1
New Member
Joined: Feb 14, 2024
Topics: 169 / Replies: 649
Reply
RE: Cast Scene Object to IINode

Of course works, because you converted .inode to the IINode before passing to the function. I want to do minimal code in MaxScript, So I prefer to pas…

8 years ago
Forum
Reply
RE: Cast Scene Object to IINode

Comparing to Max version is 80 times slower and seek much more memory: .Net >> time:878 memory:764872L Max >> time:10 memory:196L

8 years ago
Forum
Reply
RE: Cast Scene Object to IINode

I didn’t know we should send the handler, and I was trying to pass the object directly as IINode, that was not correct.

8 years ago
Forum
Reply
RE: Cast Scene Object to IINode

I didn’t get what you said about ExecuteMAXScriptScript, but handler works perfect: using Autodesk.Max; namespace MyProject { public static clas…

8 years ago
Forum
Topic
Forum
Replies: 11
Views: 61
Reply
RE: Differential lock for setting vehicle

Did you tested with script controller? I don’t think wire parameter is the right option for this kind of calculations.

8 years ago
Forum
Reply
RE: DotNet form, Create many controls at once.

I think is not good idea to do GC on windows event, because when window can do operations, it means it’s still alive so max don’t removed it. So try t…

8 years ago
Forum
Reply
RE: DotNet form, Create many controls at once.

noel20: thats awesome thanks! And about memory, it’s not good idea to use dotnet GC, Max GC works very well. In our example replace this line of…

8 years ago
Forum
Reply
RE: DotNet form, Create many controls at once.

noel20: hi MZ, sorry, i simplified the codes too rough. actually i replaced Suspend & Resume Layout in main form with WM_SETREDRAW. I see it m…

8 years ago
Forum
Reply
RE: DotNet form, Create many controls at once.

You used ResumLayout, but forget to use SuspendLayout. Sometimes HeapSize is not enough for creating so many dotnet objects. So try to increase it. In…

8 years ago
Forum
Reply
RE: Twist Bones

I have an idea, what about storing rotation(X) in attribute , then wiring to that attribute instead of current rotation. this is my first try: clear…

8 years ago
Forum
Topic
8 years ago
Forum
Replies: 1
Views: 59
Reply
RE: SDK tutorial

Archangel35757: @MZ – have you seen these 3ds Max SDK tutorials? I recommend you watch & follow along with them. Yes, thank you. specially…

8 years ago
Forum
Reply
RE: SDK tutorial

Scott Ayers: Visual Studio is a monster in every sense of the word. It’s a monster of an IDE with tons of great options. —>Good It’s a monst…

8 years ago
Forum
Reply
RE: SDK tutorial

I’ so lucky that non Max user read this topic :), you right!, I should install desirable VS version. At the moment I just tried VS 2012 and Max 2016 a…

8 years ago
Forum
Page 28 / 55