Page 1 of 1

Text+ tool can't be filtered by GetToolList

PostPosted: Sun May 22, 2016 9:18 pm
by Richard Yao
Hi I'm trying to use comp.GetToolList() to select Text+ tools in the comp but is not working at all. I would assume the code would be comp.GetToolList(False,"Text+"), but it's return an empty tuple. Can anyone please help? Thanks!

Re: Text+ tool can't be filtered by GetToolList

PostPosted: Mon May 23, 2016 12:02 am
by Chad Capeland
It's "TextPlus"

Re: Text+ tool can't be filtered by GetToolList

PostPosted: Thu May 26, 2016 8:45 pm
by Richard Yao
Chad Capeland wrote:It's "TextPlus"


Thanks Chad, I kind of figured it out through the tool reference menu, still felt weird about it, because it's not talked in the scripting guide and even in the print out in console it's referred to as Text+.

Re: Text+ tool can't be filtered by GetToolList

PostPosted: Fri May 27, 2016 6:03 am
by Eric Westphal
If in doubt, you can always get an overview on any tool's attributes
by selecting the tool in the flow and in the console typing:

Code: Select all
== comp:GetToolList(true)[1]:GetAttrs()

Re: Text+ tool can't be filtered by GetToolList

PostPosted: Fri May 27, 2016 6:29 pm
by Richard Yao
Eric Westphal wrote:If in doubt, you can always get an overview on any tool's attributes
by selecting the tool in the flow and in the console typing:

Code: Select all
== comp:GetToolList(true)[1]:GetAttrs()


Thanks Eric! Great tip!