Simplified version: Still don’t like that I need to access the variables by v1 v2 v3 . a way to give them names would be great. Thats why i thought a…
Maybe a global dictionary whould be a solution where I store the variables that I need inside a lambda body. But I am not sure if that is a better sol…
Hello Andres, thanks for ur answers. But still not what I am after. 3.) for each call of the generator u produce one return. In these cases passing …
Well my last solution (Generate5RandomNumbers) shows that I can define a function inside the paramters of a function call, so maybe lambda expressions…
Denis thanks for all those ideas! But they still have something in common. Function ‘a’ and function ‘b’ are quiet close coupled. You can even see th…
Found this solution now to be quiet close to what I want to do. Even the syntax is similar. Only downside there is no closure so i can only excess gl…
Yes this Job solution goes more in the right direction. I just don’t like the fact that i need to specify the action somewhere else and not directly w…
No, just an action, not the agruments. My C# example from above: public void main () { var shoppingcarditems = new List<string>(); sho…
Then I can just execute functions that take one array as argument. Also I don’t think that solution will be more readable than my last solution. I wa…
to allow a function in maxscript to call another function for which it doesn’t know its parameters your average can just execute methods that takes …
Ok, found a solution for the missing overloading of functions. I forgot that i can use the struct initializing to get the parameters. Also the code s…
Oh, your are right. It’s just working in Max 2015
Yes very strange indeed. That’s how i came upon this: If I rightclick on a layer in the layer manager and click “select child nodes”, following macr…