User's Guide > Core: Parameters > Table-Restricted Parameters
Table-Restricted 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 given parameter owner (model, feature, annotation element, geometry item) can only have one parameter table set applied that creates a given parameter. In Creo TOOLKIT , a parameter table set is represented by the type ProParamtableSet and is made up of entries, represented by ProParamtableEntry. A single entry represents a parameter with an assigned value or range.
Functions introduced:
Use the function ProParameterTablesetGet() to obtain the governing parameter table set for this parameter, if it's a member of a set.
Use the function ProMdlParamtablesetsCollect() to obtain an array of all the table sets that are available for use in the given model. This includes all sets that are loaded from table files that are set up in this session, and any other sets that were previously stored in the model.
Use the function ProParamtablesetFree() to free the parameter table set and the function ProParamtablesetProarrayFree() to free an array of parameter table sets.
Use the function ProParamtablesetEntriesGet() to obtain the entries that are contained in a parameter table set.
Use the function ProParamtablesetTablepathGet() to obtain the name of the table that owns this parameter table set. If the set is loaded from a certain table file, this is the full path. If the set has been stored in the model directly, this is the table name.
Use the function ProParamtablesetLabelGet() to obtain the set label for a given parameter table set.
Use the function ProParamtableentryNameGet() to obtain the name for the parameter in this table set.
Use the function ProParamtableentryValueGet() to obtain the value for the parameter in this table set. If the parameter also has a range applied, this is the default value for the parameter. Use the function ProParamtableentryRangeGet() to obtain the permitted range for the parameter in this table set. The output arguments for this function are:
minimum—The minimum value for this parameter as set by the parameter set.
maximum—The maximum value for this parameter as set by the parameter set
You can use the function ProParamtableentryProarrayFree() to free an array of table entries.
The function ProParamtablesetApply() assigns this parameter set to the given parameter owner. Parameters used by the set are created or modified, as appropriate. The parameter values are set to the default values. This function does not regenerate the model and may fail if the parameter owner already has one or more of the set's required parameters defined which are not driven by this table.
The function ProRelsetConstraintsGet() obtains the constraints applied to a given relation set. Constraints may be assigned when one or more parameters of the set is governed by an external parameter file.
Was this helpful?