VRay properties

hi all,
i wish that i could save/load settings in vray properties.

best regards
Jonas

Hi,

the vrayproperties are implemented as max custom properties. This means you have easy acces with maxscript like this:

setUserProp $Plane01 “VRay_Matte_Enable” false

You can easily set up a script to do what you want.

Best regards,

Dieter

thanks man. but maxscript + me = :?: :sweat_smile:
but would find it very useful, have a job at the moment where i have to switch alot.

they are saved as object properties in the max’s built in SceneStates

probably not exacltly what you need, but i use this one a lot to copy paste user properties

macroScript CopyUserProperties
	category:"sushidelictools"
		toolTip:"CopyUserProperties"
(
	global thesearemyuserprops
	try (thesearemyuserprops = getuserpropbuffer $)
	catch(messagebox "Copying UserProperties failed")
)

and to paste back

macroScript PasteUserProperties
	category:"sushidelictools"
	toolTip:"PasteUserProperties"
(	
	global thesearemyuserprops
	try (setuserpropbuffer $ thesearemyuserprops)
	catch(messagebox "Unable to paste UserProperties")
)

to copy, only one object must be selectetd, but you can paste it back to multiple objects.

regards,
michael

great, will try that monday when back in office.

thanks man!! :slight_smile:

yeah. im like you. max script looks like ancient dead languages to me.