IFeature.AddConstraint method
Namespace: NextDesign.Core
Description
Adds the specified type of constraint relationship with the specified feature.
argument
Name | Type | Description |
---|---|---|
target | IFeature | Constraint feature |
kind | string | Constraint type -Exclusive relationship: "Conflicts" Represents a relationship in which endpoint features cannot be enabled at the same time. -Interdependence: "Implicit" Represents a relationship in which endpoint features are always valid at the same time. -Dependency: "Requires" Represents a relationship in which the dependency is valid when the source is valid. The opposite direction is indefinite. |
Return value
- void