About this site
ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Comments
want to delete Layer itself along with its content
hello
i want to delete some layers along with its content which contain geometry, light, cameras.
with this script, i can only delete camera and light is there any way to update this.
thanks for the Help!
.
Try this:
I don't have time to rearange the UI. It will load all files and will delete all lights and cameras, then will save the loaded file with the same name in the same directory(the file will be overwritten).
Tools and Scripts for Autodesk 3dsMax
yes
Yes of course. but make sure you backup them before.
Just copy all files to one folder and change path to it -> maxfiles_Folder
This script will batch delate all camers and ligths in those files and resave them with new suffix "no_cams-lights"
or if you want to save them to new folder:
But be careful changing / using it!
Best,
Pixamoon
.
Yes.
You have to batch load all 100 files, delete cameras and lights in each file, then save the file.
If you are sure that all cameras and lights have names that contains "Camera" and "Light" in it you can check the name of the objects, before loding the files, to avoid loading max file where there is no cameras or lights. Nut if the name of the cameras and lights do not have "Camera"/"Light" then you have to load all max files one by one.
Tools and Scripts for Autodesk 3dsMax