Community
3ds Max Programming
Welcome to Autodesk’s 3ds Max Forums. Share your knowledge, ask questions, and explore popular 3ds Max SDK, Maxscript and Python topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Max Script programming

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
Anonymous
995 Views, 4 Replies

Max Script programming

what is the command flag for random selection in max script??

4 REPLIES 4
Message 2 of 5
Swordslayer
in reply to: Anonymous
Message 3 of 5
Anonymous
in reply to: Swordslayer

Thank you for the reply i tried it

the function that you create required a selection so i did a 

select $*

select (for obj in selection where random 0 1 > 0 collect obj)

it worked but i have to copy the last line command several times to end up with a single selection in the scene as the scene is highly populated with 1000 of objects, is there any simple format of code?

Message 4 of 5
Swordslayer
in reply to: Anonymous
Message 5 of 5
Anonymous
in reply to: Swordslayer

thanks!!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report