aaandres
@aaandres
New Member
Joined: Feb 14, 2024
Topics: 52 / Replies: 726
Reply
RE: Paths: slashes to backslashes Issue? Or what?

DenisT method is of course the better one. The problem with your function is one of these two ones: You should put 4 backslashs “\\” as each time yo…

9 years ago
Forum
Reply
RE: Max 2017UI for 5k and 4k from usual monitors

+1 Didn’t know about it. Thanks.

9 years ago
Forum
Reply
RE: Editable Poly .cageColor

I’ve tried other handlers and the node event system and assigning cage values directly to object too, but get always the same result (max 2014). Can’t…

9 years ago
Forum
Reply
RE: Get type of selected item/object ?

k4noe: …it would be better to answer it with maxscript way of talk first, I think.IMHO. That is what @PePeTD, @vusta, @Heilandzack and you have d…

9 years ago
Forum
Reply
RE: Get type of selected item/object ?

If you want to go through[B] maxLINQ /B: groups = (_From objects).GroupBy(“obj=>superClassOf obj”) for g in groups do ( hasDummyParent = (_Fr…

9 years ago
Forum
Reply
RE: Getting Local variables names and values

But, as you said, it’s not a good practice to use/find a variable only by its name outside its scope, so I discarded this method some weeks ago.

9 years ago
Forum
Reply
RE: Getting Local variables names and values

Yes. In fact it’s not the same. That’s what I need and what I’ve got with my method (the use of a local of other scope only knowing its name): …

9 years ago
Forum
Reply
RE: Getting Local variables names and values

I think we’re talking about different things… I’m going to study your example deeper, but I think it’s not for the same purpose I have in mind. Thanks…

9 years ago
Forum
Reply
RE: Getting Local variables names and values

But it works for some cases… fn globalFunction x = (x += 1) ( local myLocalVar1 = 1 expressionToEvaluate = “globalFunction x” for i …

9 years ago
Forum
Reply
RE: Getting Local variables names and values

Ok. You’re right. It’s very limited.

9 years ago
Forum
Reply
RE: Getting Local variables names and values

You need parsing (only valid for values, not references) — Get LocalVariable value as string fn getLocalStringValue varName = ( varName = …

9 years ago
Forum
Reply
RE: Getting Local variables names and values

Of course, this allows with a little-easy parsing to get the ‘execute’ command work in local scope, by replacing the variable name with its value as s…

9 years ago
Forum
Topic
Forum
Replies: 9
Views: 42
Reply
RE: How can I make this update between frames on render?

The #preRenderFrame notification is “sent out after the renderer has taken a snapshot of the scene geometry”. Have you tryed with the #preRenderEval?

9 years ago
Forum
Reply
RE: Binding a Script into a Max File

Ok. Now I see what the problem is. Perhaps you can create a callback with the #filePostOpenProcess (or #filePostOpen or #filePreOpenProcess) where you…

9 years ago
Forum
Page 24 / 52