Skip to content

Instantly share code, notes, and snippets.

@camelo003
Last active September 17, 2018 22:33
Show Gist options
  • Save camelo003/a13a5c02ae5afb438ec1f5638bb83e2b to your computer and use it in GitHub Desktop.
Save camelo003/a13a5c02ae5afb438ec1f5638bb83e2b to your computer and use it in GitHub Desktop.
Acess attributes keyword via script in ToonBoom Harmony!

From ToonBoom Forum, thanks to "MichelM".

var n=selection.selectedNode(0); // node selected
var myList = node.getAttrList( n, 1); // attributes list

// boucle pour lister les noms des attributs
for (i=0;i<100;i++){
MessageLog.trace(myList[i].keyword());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment