from com.inductiveautomation.ignition.common.expressions import DefaultFunctionFactory
print DefaultFunctionFactory().getFunctionNames()
print DefaultFunctionFactory().getCategories()
print DefaultFunctionFactory().getFunctionsInCategory()
return:
File "<input>", line 14, in <module>
TypeError: No visible constructors for class (com.inductiveautomation.ignition.common.expressions.DefaultFunctionFactory)
>>>
from com.inductiveautomation.ignition.common.expressions import DefaultFunctionFactory
categories = DefaultFunctionFactory.getSharedInstance().getCategories()
for categorie in categories:
print categorie
functions = DefaultFunctionFactory.getSharedInstance().getFunctionsInCategory(categorie)
print functions
for f in functions:
print DefaultFunctionFactory.getSharedInstance().getFunction(f).getArgDocString()