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…
+1 Didn’t know about it. Thanks.
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…
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…
If you want to go through[B] maxLINQ /B: groups = (_From objects).GroupBy(“obj=>superClassOf obj”) for g in groups do ( hasDummyParent = (_Fr…
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.
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): …
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…
But it works for some cases… fn globalFunction x = (x += 1) ( local myLocalVar1 = 1 expressionToEvaluate = “globalFunction x” for i …
Ok. You’re right. It’s very limited.
You need parsing (only valid for values, not references) — Get LocalVariable value as string fn getLocalStringValue varName = ( varName = …
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…
The #preRenderFrame notification is “sent out after the renderer has taken a snapshot of the scene geometry”. Have you tryed with the #preRenderEval?
Ok. Now I see what the problem is. Perhaps you can create a callback with the #filePostOpenProcess (or #filePostOpen or #filePreOpenProcess) where you…