FANDOM


filter.GetNames Edit

Function
table filter.GetNames()
Description
Get all filter names
V1 Function Name
New to V2

filter.GetNames returns a table containing the names of all available filters.

The functions filter.GetEnabledNames and filter.GetDisabledNames are similar, returning the only the names of enabled or disabled filters, respecitively.

For example, the code:

filt = filter.GetNames ()

print ( #filt .. " conditions or filters" )

for ii = 1, #filt do
    print ( "#" 
                .. ii .. 
            ", name = \"" 
                .. filt [ ii ] ..
            "\""
          )
end

might produce the output:

3 conditions or filters
#1, name = "Interaction Energy"
#2, name = "SS Design"
#3, name = "Residue Count"
Community content is available under CC-BY-SA unless otherwise noted.