Announcement

Collapse
No announcement yet.

VrayVismatConverter Error

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

  • VrayVismatConverter Error

    When I start Max an error has been popping up. First the MaxScript editor opens with the information below, and then it closes and displays an error message. Any thoughts on what might be causing this or how to fix it?

    I have started with reinstalling Vray... I would prefer not to reinstall Max.


    Code:
    macroScript VRayVismatConverter category:"VRay" buttontext:"V-Ray vrmat converter" tooltip:"Converts 3dsMax V-Ray materials to a .vrmat file" (
    	
    	on execute do createDialog vrayVismatConverterRollout modal: false
    	
    	local enabled = false
    	fn checkRenderer = (
    		productRenderer = renderers.production
    
    		if(productRenderer != undefined) then (
    			enabled = ((productRenderer.classid[1] == 1941615238) and (productRenderer.classid[2] == 2012806412) or (productRenderer.classid[1] == 1770671000) and (productRenderer.classid[2] == 1323107829))
    		) else (
    			enabled = false
    		)
    	)
    	
    	on
    Attached Files

  • #2
    It seems like VRay-VRayVismatConverter.mcr file was not written correctly. Try to deleted the file "C:\Users\sasho\AppData\Local\Autodesk\3dsMax\ 2016 - 64bit\ENU\usermacros\VRay-VRayVismatConverter.mcr" and then run 3ds max.
    Zdravko Keremidchiev | chaos.com
    Chaos Support Representative | contact us

    Comment

    Working...
    X