You must define the inputs and outputs for the symbols to work. The first input is reserved for the catalog part and you must use InputCatalogPart to define the input. Define a variable to access the attributes in ConstructOutput().
[InputCatalogPart(1)]
public InputCatalogPart m_PartInput;
Input declaration changes based on input data type.
The following parameters are used:
-
Index
-
Attribute Name - specifies the SymbolParameter attribute as defined in the CustomInterface worksheet of the Reference Data workbook for symbols.
-
Attribute Description - specifies the attribute description.
[InputDouble(2, "E", "E", 0.999999)]
public InputDouble m_E;
[InputDouble(3, "R", "R", 0.999999)]
public InputDouble m_R;
[InputDouble(4, "PinDiameter", "PinDiameter", 0.999999)]
public InputDouble m_PinDiameter;
[InputDouble(5, "PinLength", "PinLength", 0.999999)]
public InputDouble m_PinLength;
[InputDouble(6, "B", "B", 0.999999)]
public InputDouble m_B;
[InputDouble(7, "S", "S", 0.999999)]
public InputDouble m_S;
[InputDouble(8, "T", "T", 0.999999)]
public InputDouble m_T;
The following input types are used:
InputCatalogPart
InputDouble
InputObject
InputString