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!
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!
