Table Parameters
A parameter table is made up of one or more parameter table sets. Each set represents one or more parameters with their assigned values or assigned ranges. A parameter owner such as model, feature, annotation element or geometry item can only have one parameter table set to create a parameter. In Creo Object TOOLKIT C++, a parameter table set is represented by the type wfcParamtableSet and is made up of entries, represented by wfcParamTableEntry. A single entry represents a parameter with an assigned value or range.
Methods Introduced:
Use the method
wfcParamTableEntry::GetName to obtain the name of the parameter in the table set.
Use the method
wfcParamTableEntry::GetRange to obtain the permitted range for the parameter in the table set. This method returns an object of the class
pfcParameterRange. Use the methods
pfcParameterRange::GetMaximum and
pfcParameterRange::GetMinimum to get the minimum and maximum value for the parameter. For more information on these methods refer to the section
Parameter Restrictions.
Use the method
wfcParamTableEntry::GetValue to get the value set for a parameter in the table set.
Use the method
wfcWParameter::GetTableset to obtain the parameter table set that contains the specified parameter.
Use the method
wfcParamTableset::GetEntries to get the list of parameters present in the parameter table set. This method returns an array of parameter table set which contains information about all the parameters defined.
Use the method
wfcParamTableset::GetLabel to get the set label parameter defined for the parameter table set. A parameter that describes an entire set of parameters and their values is called a set label parameter.
Use the method
wfcParamTableset::GetTablePath to get the name of the table that owns that parameter table set. If the parameter table set has been loaded from a table file, this method returns the full path of the table. It returns the table name, if the table parameter table set is stored in the model directly.