GetQuantityNames(string categoryName)
- Purpose:
For each of the category names returned from the
GetCategoryNames
method, this function is called to return a list of quantities to be organized under that category name. Note that the quantity names must be unique across the categories: that is, no two categories can have quantities with the same name. - Parameters:
categoryName
(input Python string) - category name.- Returns: Python list of strings.
Example:
# returns a list of quantity names for the supplied category name
def GetQuantityNames(self, catName):
if catName == "UDOOutputs":
return ["min_val", "max_val", "avg_val"]
else:
return []