Skip to main content

IFeature.AddConstraint method

Namespace: NextDesign.Core

Description​

Adds a constraint relationship of the specified type with the specified features.

argument​

NameTypeDescription
targetIFeatureconstraint feature
kindstringConstraint Kind
- Exclusive relationship: "Conflicts"
Represents a relationship in which endpoint features cannot be valid at the same time.
- Mutual Dependency: "Implicit"
Represents a relationship in which the endpoint features are always valid at the same time.
- Dependencies: "Requires"
Represents a relationship where the dependent must be valid if the dependent is valid. The reverse direction is undefined.

Return value​

  • void