Recently I have been forced to do some rendering in Mental Ray because of taking over a job started by someone else.
Today I wanted to render with vray and got this error message Cannot find procedure “shaveVrayPreRender” and vray won’t render.
I had a 64 bit evaluation of shave which has now expired. I uninstalled shave and still I got the error.
I re-installed vray, re started the machine and still I get the error.
How do I stop vray looking for this shaveVrayPreRender which is not there and continue rendering as I was able to before?
Thanks.
Hi,
It is in your maya scene, in the Render Settings-->VRay Common-->MEL callbacks
Delete shaveVrayPreRender and shaveVrayPostRender from Pre Render MEL and Post Render MEL.
There are also shave nodes, that will now appear as “unknown” nodes (because shave is not installed anymore), you can delete them.
The best way to delete Shave from a maya scene is to do it while you still have a shave license, using its mel command : shavePurge
But you can’t use this command if you have uninstalled shave from your computer.
Alain
Hi,
I suppose you can delete it manually from the preRender callback setting in the
“Render Settings → V-Ray Common → MEL/Python callbacks → preRender MEL”
/Teodor
Hey,
this is what I did recently to overcome this problem.
http://www.chaosgroup.com/forums/vbulletin/showthread.php?68357-Can-t-batch-render&p=550614#post550614
Hey, in case anyone else has to get rid of shave nodes in the scene. I had to also remove the pre render shave callback scripts and additionally use this,
lockNode -lock 0 shaveGlobals
delete `ls -type shaveGlobals`
to delete the shave nodes manually. It still takes a long time to start but thats another problem I suppose.
(thanks refract for your reply. )
Cheers
Hope it helps. 
Cheers,
Sebastian