lo1
@lo1
New Member
Joined: Feb 14, 2024
Topics: 44 / Replies: 1920
Reply
RE: creating sorted arrays automatically…?

In my example, each subarray is a datapair object, consisting of a string which contains the prefix, and an array of nodes. So to get the first node …

10 years ago
Forum
Reply
RE: creating sorted arrays automatically…?

( delete objects for s in #(“A_10”, “A_20”, “A_100”, “B_30”, “B_60”, “C_02”, “C_100”, “D_100”, “D_50”, “D_35”) do ( point name:s ) local arr = #() f…

10 years ago
Forum
Reply
RE: changing dotnet Tooltip text

(dotnetclass “System.Windows.Forms.ToolTipIcon”).info is an enum, not an object being created. Or maybe we’ve misunderstood each other.

10 years ago
Forum
Reply
RE: changing dotnet Tooltip text

Why do that? It’s an enumeration

10 years ago
Forum
Reply
RE: changing dotnet Tooltip text

And also keep a reference to ToolTipObj as a rollout local so it doesn’t get GCed away.

10 years ago
Forum
Reply
RE: pausing maxscript execution without UI lock

I find the rollout timer method cleaner and simpler

10 years ago
Forum
Reply
RE: pausing maxscript execution without UI lock

except that “job done” will always run after “work done”. There is no way to wait for ‘executeJob’ to finish.

10 years ago
Forum
Reply
RE: Expand Material Library – More Efficient?

Don’t extract names on every iteration, store names in a separate array SceneMaterials may contain maps, which will throw an exception if you call Get…

10 years ago
Forum
Reply
RE: max file new, skip dialogs?

resetMaxFile #noPrompt

10 years ago
Forum
Reply
10 years ago
Forum
Reply
RE: Thumbnail view multiple folders

I think I remember this dll, someone on this forum made it circa 2009-2010. Anyways, your issues have nothing to do with the viewer, you’re simply not…

10 years ago
Forum
Reply
RE: pausing maxscript execution without UI lock

It seems you can only start the timer from the UI thread. If you try to call Start() or set Enabled = on from a background thread, the event is never …

10 years ago
Forum
Reply
RE: pausing maxscript execution without UI lock

Nice to know. The documentation suggests otherwise.

10 years ago
Forum
Reply
RE: pausing maxscript execution without UI lock

Yes but you still have to create a form for it. A System.Windows.Forms.Timer needs to be associated with a form to run.

10 years ago
Forum
Reply
RE: pausing maxscript execution without UI lock

I’m sure someone can help you with a better design if you post code which actually represents what you’re trying to do.

10 years ago
Forum
Page 18 / 131