denisT: sending from .net to max is slow. so we can stay with .net array but who said it must be array list? it might be generic list or some other …
I envy to you guys that you have the free time to join this cool challenges last week. I don’t even find a time to read them carefully I think you h…
allInsts = #() for obj in geometry do ( if (InstanceMgr.GetInstances obj &instances) > 1 do ( if findItem allInsts obj == 0 do join al…
@ Waseem – OK, now I test each code here. The 2nd code has logical mistake but all the rest (including 1st one) works, and to be more correct – by ‘wo…
WaseemOnLiNe: I’m sorry but didn’t you try it before sending it to me? This time a blue text written “[color=mediumturquoise]undefined[/color]” and …
Yes, unpolished code. I just experiment to make the code short and complex at the same time, i.e. to work even if the group head is linked as child. S…
The objects inherit the group header transforms and this way the rotation is multiplied. If this is what you mean then s’d call rotate() only on the g…
Hi Bobo, well, just to be more correct, need to say that I get this in Max 2011, for 2010 am not sure, and in 2009 and below that wouldn’t work. For o…
from the macro recorder: actionMan.executeAction 0 “16”
miauu: Yes, I swap them, but i did not know that the getPixels() work only with rows. Both Get/Set Pixels works with array of values (but can be…
Hi Kosta, I see you swap the order of “for y … ( for x … )” in the second script. Excluded that, they are identical. Note: [i]setPixels/i works by ro…
Thanks for the note. Yes, AD needs to loop through all nodes. Also not preserved when copied but I see some benefit here. I use app data to make my o…
[b]setAppData/b is also good and easy way to ‘stamp’ your objects.
PhotoShop Interop!?.. hmm… Did you work with Windows PowerShell?
Maybe worth to test [b]CompareBitmaps/b function as well.