Notifications
Clear all
[Closed] [SOLVED] Query Custom Attribute Names/Aliases from objects
Mar 20, 2021 12:11 pm
Hello everyone,
I was wondering if someone knew how to query custom attribute names from an object? For example, in Maya, we would use cmds.listAttr(‘Name”, ud=1) and it would query an array/list of the custom attribute names. Is there an equivalent with Maxscript?
1 Reply
Mar 20, 2021 12:11 pm
The short answer would be:
attribDef = custAttributes.getDef $ 1
print (custAttributes.getPBlockDefs attribDef)[1]
In the Help there is a function that gives more detailed information about a CA:
Custom Attributes Definition Values