Could someone please confirm this issue I'm having?
When I save a VRAY material with a custom attribute to the material library, the custom attribute is lost.
Here is a script to test with.
Set slot1 of the material editor to a V-ray material type.
Execute this script and you should see a custom attribute add to the material in editor slot 1. Drag the material from material editor to a material library and back to the editor. The custom Attribute will be lost...
This is not the case with Standard, Architectural or MentalRay materials.
Max 8.3 / Vray 1.5rc
Thanks in Advance !
Keith Morrison
Keithm@focus360.com
When I save a VRAY material with a custom attribute to the material library, the custom attribute is lost.
Here is a script to test with.
Code:
( -- Define simple Custom Attribute TestAtt = attributes TestAtt ( parameters main rollout:LostWithVrayMaterial ( ImportantValue ui:Spin01 type:#float ) rollout LostWithVrayMaterial "Custom Attribute loss Test Rollout" ( spinner Spin01 "This Custom Attribute will be lost." range:[0.0,1000.0,50.0] ) ) -- add custom Attribute to the material in the first slot. CustAttributes.add meditMaterials[1] TestAtt #Unique )
Execute this script and you should see a custom attribute add to the material in editor slot 1. Drag the material from material editor to a material library and back to the editor. The custom Attribute will be lost...
This is not the case with Standard, Architectural or MentalRay materials.
Max 8.3 / Vray 1.5rc
Thanks in Advance !
Keith Morrison
Keithm@focus360.com
Comment