I'm trying to select any particular object, go into subobject mode, select elemet, and highlight all the faces of that object and turn to a particular Material ID. I've gotten pretty close but in the max script window it assigns id's to each polygon which I do not want. I just want to always tell it to select all polygons. Does anyone have any thought on this? Thanks!
Announcement
Collapse
No announcement yet.
Max Script question
Collapse
X
-
Re: Max Script question
Originally posted by bojo5150I'm trying to select any particular object, go into subobject mode, select elemet, and highlight all the faces of that object and turn to a particular Material ID. I've gotten pretty close but in the max script window it assigns id's to each polygon which I do not want. I just want to always tell it to select all polygons. Does anyone have any thought on this? Thanks!
-
No, what I'm doing is trying to automate my rendering process. We design our buildings in ArchiCAD and export them out as a 3DS file. So far I've mapped the 3DS file to import, delete all lights and cameras, (from archicad) place new lights and cameras, setup all typical VRay settings, convert all geometry to editible poly, rename all objects, & apply UVW coordinates. All I have left to do is apply the material. I use a multisub material with our all of our typical materials in it because I use the VRMesh format to drop these into larger scenes later on. So what I need to do is have Max select each object independently, select the subobject "element" and select all the polygons. Then apply the proper material ID to correspond to the object name and Id from the multsub material.
Comment
-
why don't you just break up the multi-sub material - and apply single materials to whole objects?
Comment
Comment