Skip to content

Instantly share code, notes, and snippets.

@EricTRocks
Created September 20, 2016 22:09
Show Gist options
  • Save EricTRocks/c9734c19b9bed11839905726f54446cb to your computer and use it in GitHub Desktop.
Save EricTRocks/c9734c19b9bed11839905726f54446cb to your computer and use it in GitHub Desktop.
Get Custom Parameters on Attribute Holder
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