User's Guide > The Basics of Web.Link > Designating Parameters
Designating Parameters
 
Functions Introduced:
These functions control the designation of model parameters for Windchill. A designated parameter will become visible within Windchill as an attribute when the model is next submitted.
The function pfcScript.pwlParameterDesignationAdd() designates an existing parameter. The syntax is as follows:
pwlParameterDesignationAdd (
string MdlNameExt, // The full name of the model
string ParamName // The name of the parameter
);
The pfcScript.pwlParameterDesignationRemove() function removes the designation. The syntax is as follows:
pwlParameterDesignationAdd (
string MdlNameExt, // The full name of the model
string ParamName // The name of the parameter
);
To verify whether a parameter is currently designated, call pfcScript.pwlParameterDesignationVerify(). The syntax is as follows:
pwlParameterDesignationVerify (
string MdlNameExt, // The full name of the model.
string ParamName // The name of the parameter.
);
Additional return field:
boolean Exists; // If this is true, the
// parameter is currently
// designated.
Was this helpful?