Swordslayer
@swordslayer
New Member
Joined: Feb 14, 2024
Topics: 19 / Replies: 543
Topic
Forum
Replies: 9
Views: 21
Reply
RE: Variable selection count in labels

Your rollout definition is enclosed in local scope (which also means that the try(destroydialog Attacher)catch() line will never destroy the dialog), …

7 years ago
Forum
Reply
RE: 3dsmax 2019.1 Scripting Improvements

A few more bits and pieces from the update: The File > Archive command is now exposed in MAXScript as archiveMAXFile() The SystemTools struct now …

7 years ago
Forum
Reply
RE: dotNet.addEventHandler

MaxVer is likely a global variable introduced by one of the scripts you are using, it’s definitely undefined on my end. Might be more reliable to use …

7 years ago
Forum
Reply
RE: dotNet.addEventHandler

Btw. 2019.1 Update is out now and it’s fixed there so you don’t have to do it that way anyway.

7 years ago
Forum
Reply
RE: dotNet.addEventHandler

Once again, _ is just a name like any other, no special syntax. fn _ is the same thing as say fn test, it has no arguments so you need to add them if …

7 years ago
Forum
Reply
RE: dotNet.addEventHandler

Instead of a holder of one variable, hold an array of variables in that case, something along the lines of: masterValue = rollout thisRollout “” widt…

7 years ago
Forum
Reply
RE: dotNet.addEventHandler

Quite a few ways around that while keeping the function inside the struct, for example: masterValue = rollout thisRollout “” width:200 ( struct m…

7 years ago
Forum
Reply
RE: Passing parameters to rollouts

Like most of the other brilliant ideas, I first saw this one used by denisT, and didn’t look back ever since

7 years ago
Forum
Reply
RE: Passing parameters to rollouts

They get set to whatever value is assigned to them in the rollout, you can reassign them to itself and they will hold the same value: rollout varTest…

7 years ago
Forum
Reply
RE: Problem with SDK-NET AngleAxis.

Yes, I’d say 2017 was a pretty significant step forward when it comes to .NET improvements, in 2018 it was mainly fixes and cleanup but it makes one h…

7 years ago
Forum
Reply
RE: Problem with SDK-NET AngleAxis.

Yes, it’s still there in 2019, same issues with others like the curve control points IIRC. Aside from simple one-liners and simple UI stuff, I tend av…

7 years ago
Forum
Reply
RE: Maxscript: Get the root node of Referenced nodes

That’s the fourth subanim of a node, first three are #visibility, #space_warps and #transform and this one is either #<object_class> if there’s…

7 years ago
Forum
Reply
RE: Maxscript: Get the root node of Referenced nodes

So I presume this could work for you: fn get_reference_parent node_list = for obj in node_list where hasProperty obj[4] #Modified_Object do exit…

7 years ago
Forum
Reply
RE: Maxscript: Get the root node of Referenced nodes

Why do you add the empty modifier, wouldn’t returning the node with the least modifiers do the same anyway? Edit: Okay, now I see why, if there’s a re…

7 years ago
Forum
Page 6 / 38