lo1
@lo1
New Member
Joined: Feb 14, 2024
Topics: 44 / Replies: 1920
Reply
RE: MAX Script needs revision!

When you say ‘maxscript compiler’, you really mean a process which translates maxscript commands to their equivalent C++ SDK code, and then compiles, …

10 years ago
Forum
Reply
RE: MAX Script needs revision!

Instead of improving maxscript, wouldn’t it be easier to improve the c# SDK and provide a runtime c# interpreter (e.g. LINQPad) inside max? What woul…

10 years ago
Forum
Reply
RE: .NET assembly – ExecuteMAXScriptScript crashes

duke: and destroyed it on the shutdown callback I wouldn’t bother with that unless you have some persistence handling to do. Windows will tear do…

10 years ago
Forum
Reply
RE: .NET assembly – ExecuteMAXScriptScript crashes

You can register for the system notification #NOTIFY_MXS_POST_STARTUP and run your code there.

10 years ago
Forum
Reply
10 years ago
Forum
Reply
RE: MAX 2016: simpleMeshMod test

I’m not sure I understand the design decisions that necessitate MCG being implemented via maxscript (even if not for heavy lifting). Wouldn’t it be mo…

10 years ago
Forum
Reply
RE: Get system all tray titles by dotnet?

You just need to check if a certain process, of which you the filename, is running?

10 years ago
Forum
Reply
RE: SDK – check topology's validity

You don’t have to listen for specific parameters. NotifyInputChanged sends you the partID mask which has changed.

10 years ago
Forum
Reply
RE: SDK – check topology's validity

At the beginning of ModifyObject, check if your cache exists and is valid. In response to things like InputChanged or NotifyRefChanged, invalidate you…

10 years ago
Forum
Reply
RE: Undocking Maxscript floaters

With your example, the handles always appear for me. Do you know how to recreate them not appearing?

10 years ago
Forum
Reply
RE: dotnet focus

register for the textbox’s gotFocus event and disable 3dsmax accelerators using enableAccelerators = false

10 years ago
Forum
Reply
10 years ago
Forum
Reply
RE: Persistent when construct

When do you choose to use the node event system vs. general event #selectionSetChanged callback? Is one more efficient than the other?

10 years ago
Forum
Reply
RE: Persistent when construct

Right. You can’t directly reference a node in a custom attribute which is applied on that node. That results in a dependency loop. Workarounds: Use…

10 years ago
Forum
Reply
RE: Persistent when construct

Here you go. I ended up doing it using the paramater setter, not the postload, which would also work but is unnecessary. myDef = attributes “WhenExam…

10 years ago
Forum
Page 14 / 131