Notifications
Clear all
[Closed] Error Unknown property , save me
Oct 17, 2018 2:04 pm
I didn’t figure out where the mistake of the code was, and I didn’t find the answer in Google.
Who can tell me, save me
I’m going crazy.
on NEWTEST pressed do (
abc = "name"
$.material.bac = "name2"
)
Error: – Unknown property: “bac” in VRayMtl 005:VRayMtl
3 Replies
Oct 17, 2018 2:04 pm
In MaxScript you can’t create object properties on the fly like that, the material has no “bac” property.
If you are trying to add custom data to the material you can try using custom attributes:
3ds Max 2018 Help: Scripted Custom Attributes