Material parameter change callback in 3ds Max

192 Views Asked by At

I am creating a python script for 3ds Max, and I was searching for a way to create a callback when a Vray material is changed. I am not used to max script, but while I was looking at the documentation I was able to create different callbacks using "callbacks" or "NodeEventCallback". It was not hard to create callbacks for node creation or opening materials in the SME window for example. But I could not find any way to create callbacks when a material parameter is changed. Apparently, there is no callback event name or return parameters on the documentation for that:

https://help.autodesk.com/view/MAXDEV/2023/ENU/?guid=GUID-C1F6495F-5831-4FC8-A00C-667C5F2EAE36

Does anybody know how to create a callback for every parameter change on a material? I would appreciate any help. Thanks!

0

There are 0 best solutions below