Panayot
@panayot
New Member
Joined: Feb 15, 2024
Topics: 6 / Replies: 205
Reply
RE: Mini-Challenge #3

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 …

14 years ago
Forum
Reply
RE: Mini-Challenge #3

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…

14 years ago
Forum
Reply
RE: How would I find out if an object is an instance or a reference via maxscript?

allInsts = #() for obj in geometry do ( if (InstanceMgr.GetInstances obj &instances) > 1 do ( if findItem allInsts obj == 0 do join al…

14 years ago
Forum
Reply
RE: Is there a script for rotating 90 degree for groups?

@ 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…

14 years ago
Forum
Reply
RE: Is there a script for rotating 90 degree for groups?

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 …

14 years ago
Forum
Reply
RE: Is there a script for rotating 90 degree for groups?

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…

14 years ago
Forum
Reply
RE: Is there a script for rotating 90 degree for groups?

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…

14 years ago
Forum
Reply
RE: "file, new" without prompt

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…

14 years ago
Forum
Reply
RE: "file, new" without prompt

from the macro recorder: actionMan.executeAction 0 “16”

14 years ago
Forum
Reply
RE: Reading imabes column by column not working.Why?

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…

14 years ago
Forum
Reply
RE: Reading imabes column by column not working.Why?

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…

14 years ago
Forum
Reply
RE: Persistent Node Arrays

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…

14 years ago
Forum
Reply
RE: Persistent Node Arrays

[b]setAppData/b is also good and easy way to ‘stamp’ your objects.

14 years ago
Forum
Reply
RE: DotNet / COM bridge

PhotoShop Interop!?.. hmm… Did you work with Windows PowerShell?

14 years ago
Forum
Reply
RE: comparing values within threshold

Maybe worth to test [b]CompareBitmaps/b function as well.

14 years ago
Forum
Page 12 / 15