Announcement

Collapse
No announcement yet.

Cannot find procedure "shaveVrayPreRender" vray won't render, shave is uninstalled.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cannot find procedure "shaveVrayPreRender" vray won't render, shave is uninstalled.

    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.

  • #2
    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
    Last edited by alainfx; 31-05-2012, 01:52 AM.

    Comment


    • #3
      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
      V-Ray developer

      Comment


      • #4
        Hey,

        this is what I did recently to overcome this problem.

        http://www.chaosgroup.com/forums/vbu...614#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

        Comment

        Working...
        X