I'm trying to replicate a workflow I've used with V-Ray and Redshift in which a custom attribute on an object's User Defined Properties is used as an index for a switch node. Here I am using a custom attribute called isEmissive to determine if the material should illuminate red or nothing. I've seen the User Data Int node used for existing attributes on Object Properties but not for custom attributes. Just wondering if this is possible. A similar question was asked by another user a few years ago but I don't see a solution. Any suggestions would be appreciated. Thanks.
MAXtoA 126.96.36.199 (2022)
MaxtoA User Defined Properties.JPG