Created
September 20, 2016 22:09
-
-
Save EricTRocks/c9734c19b9bed11839905726f54446cb to your computer and use it in GitHub Desktop.
Get Custom Parameters on Attribute Holder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import MaxPlus | |
# Selected object should have Attribute Holder on it | |
for n in MaxPlus.SelectionManager.Nodes: | |
mod = n.GetModifier(0) | |
attrContainer = mod.GetCustomAttributeContainer()[0] | |
for p in attrContainer.ParameterBlock.Parameters: | |
print p.GetName() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment