UDD Input interfaces

The Generate function takes in a list of inputs which allows the user to access data from the design.

IUDDInputBool : This interface exposes 3 methods.

IUDDInputDouble : This interface exposes 3 methods.

IUDDInputText : This interface exposes 3 methods

IUDDInputTrace : This interface exposes 9 methods

IUDDInputSolution : This interface exposes 11 methods

Examples

def Generate(self, input, docgen, progMon):

# Getting the boolean data set by the user

boolinput = input[0].Data()

# Getting the double data set by the user

dblinput = input[1].Data()

# Getting the text data set by the user

textinput = input[2].Data()

# Getting the category names in a solution

categories = input[3].CategoryNames()

# Getting the quantity names based on a category

quantities = input[3].QuantityNames(categories[0])

# Getting the XY data from the trace

xydata = input[4].DoubleData()