Hide and unhide all bones and helpers before Rendering
Hi all.
These are my first scripts and are rediculously simple and obvious, but should be quite handy, if like me, on the odd occasion due to tight deadlines and final renders having to be sent, you forget to turn off the bone objects of your character studio bipeds and they render in the scene. A re-render is required and there's no time left.....doh!
Here begins my MaxScripting journey.....wish me luck!
How to use:
1. Download the two scripts and save them on to your machine anywhere you like, just remember where they are!
2. In the render dialog box, Scripts roll-out, in Pre-Render click on the file button and choose the Hide all Bones.ms.
3. If you want the bones to be turned back of after the rendering has finished, click on the Post-Render File Button and load in the Unhide all Bones.ms.
Now you don't have to worry about forgetting to turn them off before rendering!
Enjoy and let me know if they are handy for you.
Attachment | Size |
---|---|
hide_all_bones.ms | 105 bytes |
unhide_all_bones.ms | 109 bytes |
Comments
Tassel
Hi Tassel,
Thanks again for the input. I've finally run your version and seeing the script there really helped me understand a bit more about scripting. I perticularly like the link to my Scriptspot page!
Can you email PM me? I'd like to ask you a question regarding this script at rendertime.
I can't find any contact details for you on here or on your website.
Cheers.
Script_Butler
Good idea Br0t!
Perhaps my script will evolve in to something that will run at render time and you can choose various things you want to hide on or off before rendering!
My knowledge of Maxscript is pretty much non existent so it will take me ages and I bet someone else will be able to write it in 5minutes! Lol.
Definitely something I will try though as a good start to learn Maxscript!
Cheers.
Script_Butler
Thanks tassel
I messed around with having a rollout with buttons and initially had a version with. But after some thought and tests I didn't want a window to popup each time that has to have a button pressed to make rendering work. Also I wasn't sure what would happen on a network render farm if a popup had to be negotiated. I need to test that.
I literally wanted a script that you could add in to run before render time that you didn't have to worry about ever again! Hence the simplicity of it.
But thank-you for putting in some time to improve it. I will take this and hopefully it will grow into something for more people.
Cheers.
Script_Butler
Here is a start to make it a
Here is a start to make it a littlebit more userfriendly :o)
/ Raymond
You should write a script
You should write a script that adds your script to the pre render slot ;)! I had a similar problem once with spline controls of a facial rig, forgot them and the whole thing rendered...argh... but hiding all splines wont do so much good either. Cheers
Never get low & slow & out of ideas