Panayot
@panayot
New Member
Joined: Feb 15, 2024
Topics: 6 / Replies: 205
Reply
RE: Objects Equal distance question ?

Note: need to correct myself, as I simplified the axample too much, I presume the pivot is already is on #min.z but I hope you’ve got the idea and wil…

14 years ago
Forum
Reply
RE: Objects Equal distance question ?

It’s a bit hard to decode your question su37: From left to right select four objects Result is correct. From right to left select is wrong ,M…

14 years ago
Forum
Reply
RE: help ,How to calculate many box ,total length, total width, total height?

Yeah, Denis, the same I thought at the beginning but a repetition of the “cumulative” made me think that he want to do extra calculations (like averag…

14 years ago
Forum
Reply
RE: help ,How to calculate many box ,total length, total width, total height?

is this what you want?.. if selection.count > 0 do ( myCollection = for i in selection where not isGroupMember i collect i total = [0,0,0] fo…

14 years ago
Forum
Reply
RE: Can make the object to not be unfreezed?

maybe not so elegant but working… global foo = $foo fn pesistFreezeMe = ( me = callbacks.notificationParam() if me == foo do me.isFrozen = on ) cal…

14 years ago
Forum
Reply
RE: Using hasProperty with subAnim

denisT: isProperty is not try/catch wrapper. isProperty searches a property in the list all properties until find it or come to the end. it finds qu…

14 years ago
Forum
Reply
RE: Using hasProperty with subAnim

I mean that getpropertynames is not existing function in max 2009. But more interesting is – where you find additional info about IsProperty()? [edit…

14 years ago
Forum
Reply
RE: Using hasProperty with subAnim

here’s all what i find about IsProperty in the help: The [font=Courier New]isProperty() function allows you to test whether an object has a specifie…

14 years ago
Forum
Reply
RE: Using hasProperty with subAnim

hmm… interesting… Where you find extra info on what stay behind IsProperty function? I really interesting because i found nothing, and as its slow loo…

14 years ago
Forum
Reply
RE: Using hasProperty with subAnim

Hi Andy, “hasProperty uses the same code as showPropeties” – this is it. ShowPropeties has limited scope (“MAXClass definition”), while isProperty i…

14 years ago
Forum
Reply
RE: first script very simple…but wrong

Maybe… (‘hit-in-the-dark’) ( nodes = geometry as array max select none for n in nodes do ( select n if okToCreate Body_Object do StartObjec…

14 years ago
Forum
Reply
RE: Set default lighting to 2 ?

Thanks for confirmation!

14 years ago
Forum
Topic
Forum
Replies: 2
Views: 41
Reply
RE: Setting viewport antialiasing through maxscript

denisT: hm… it works for 2010-2012. i didn’t test it in 2009. but you right i had to do it safer way… “Configure Direct3D”: ( — b = windows.getchi…

14 years ago
Forum
Reply
RE: Setting viewport antialiasing through maxscript

Hi Denis, you have many years behind in programming and I was sure you’ll not resist and will dominate with some optimized code Well, good to know a…

14 years ago
Forum
Page 8 / 15