In Web.Link, the set of relations on any model or model item is represented by the pfcRelationOwner class. Models, features, surfaces, and edges inherit from this interface, because each object can be assigned relations in Creo Parametric.
Methods and Properties Introduced:
|
|
pfcRelationOwner.RegenerateRelations() |
|
|
pfcRelationOwner.DeleteRelations() |
|
|
pfcRelationOwner.Relations |
|
|
pfcRelationOwner.EvaluateExpression() |
The method pfcRelationOwner.RegenerateRelations() regenerates the relations assigned to the owner item. It also determines whether the specified relation set is valid.
The method pfcRelationOwner.DeleteRelations() deletes all the relations assigned to the owner item.
The property pfcRelationOwner.Relations returns the list of initial relations assigned to the owner item as a sequence of strings.
The method
pfcRelationOwner.EvaluateExpression() evaluates the given relations-based expression, and returns the resulting value in the form of the
pfcParamValue object. Refer to the section
The ParamValue Object in the
section Dimensions and Parameters for more information on this object.