API Documentation > Interfaces > Interface WRelationOwner
Interface WRelationOwner

package com.ptc.wfc.wfcModelItem;

public interface
WRelationOwner
extends
com.ptc.pfc.pfcModelItem.RelationOwner


Description
An object of type can have relations assigned to it. This is an extension of RelationOwner
Direct Known Subclasses:
Method Summary
EvaluateExpressionWithUnits (String Expression, /*optional*/ Boolean Consider_units)
Use Creo Parametric to evaluate the given relations-based expression.
/*optional*/ stringseq
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. They act as read-only relations.
boolean
Are Units used in the Relation.
void
UseUnits (boolean Use)
Makes the relation units sensitive
Methods Inherited from Interface com.ptc.pfc.pfcModelItem.RelationOwner :
Method Detail
GetRelationConstraints
/*optional*/ stringseq
GetRelationConstraints
()
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. They act as read-only relations.
Returns:
List of constraints assigned to the parameters in the given relation set
UnitsUsed
boolean
UnitsUsed
()
Are Units used in the Relation.
Exceptions thrown (but not limited to):
XToolkitNotFound - The post regeneration relation set was not found.
Manual References:
Returns:
Boolean indicating whether units are used or not
UseUnits
void
UseUnits
(boolean Use)
Makes the relation units sensitive
Exceptions thrown (but not limited to):
XToolkitNotFound - The post regeneration relation set was not found.
Manual References:
Parameters:
Use
Returns:
EvaluateExpressionWithUnits
EvaluateExpressionWithUnits
(String Expression, /*optional*/ Boolean Consider_units)
Use Creo Parametric to evaluate the given relations-based expression.
Manual References:
Parameters:
Expression
Consider_units
Returns:
The calculated value of the expression.
Was this helpful?