PDA

View Full Version : LayerManager & pre-render script issue


actionsketch
03-26-2008, 07:32 PM
I need to have a pre-render script that will hide a layer I don't want drawn when the render starts, I'm doing this with:

myLayer = LayerManager.getLayerFromName("base meshes")
myLayer.isHidden = true

however what is infact happening is the render is still drawing the layer... then only after the render finishes does the layer actually hide. This IS a pre-render script.

What I think is happening is that some internal 3dsmax method isn't getting called, between the time the script is run and the render started... like some kinda of LayerManager.refresh() or something. I don't really know why this is happening... but it's driving me nuts.

can anyone please help me figure this out?
Thanks!

CGTalk Moderation
03-26-2008, 07:32 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.