|02 February 2010||#1|
Video Editor & 3D
Join Date: Nov 2002
Select objects by layer
I am VERY new to maxscript, my head is spinning and I feel like I've just been told that I have to climb mount everest.
I have just finished doing a search for every post that has anything to do with layers but couldnt find what I am looking for, so I am resorting to making a new post.
The place I am working for does architectural pre-viz and all of our models are crafted in Autocad Architecture and reference linked in 3dsmax for texturing and rendering. We use the same layering naming conventions in autocad all the time for each project.
What I am hoping for is a single script that has the ability in 3ds max to:
- Start at the top of the layers pallet and automatically select all objects on the first layer,
- ask for a new object(s) name per layer, and once given, rename all objects on that layer,
- then globally apply a pre-determined material to the objects in that layer
- then move down to the next layer and repeat until it gets through the last layer in the layers pallet.
For the most part, our texturing doesnt require the use of image files.
I hope I am not shooting for the stars with what seems to me to be a monster task.
Is there a way to do this through a script?
Alternatively, I would be happy if I could do the above tasks even for one layer through a script, as I could still make a toolbar that had each of our common layers names and get through the batch of them that way.
Thank you for your willingness to help out a maxscript noobie.
|02 February 2010||#2|
Join Date: Apr 2002
Try this, it should get you a good head start:
|04 April 2010||#4|
Join Date: Sep 2003
Thread automatically closed
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
|Thread Closed share thread|