Share

IAssemConstraint Interface

Provides properties and functions to suppress and unsuppress assembly constraints.

In a rule, this interface is implemented by the predefined object named Constraint.


Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 29.0

Syntax

VB

Public Interface IAssemConstraint

C#

public interface IAssemConstraint

Properties

  NameDescription
Public propertyiMateDefIsActive(String)
True if the given iMate definition is active (unsuppressed).
Public propertyiMateDefIsActive(Object, String)
True if the given iMate definition in a component occurrence or component document is active (unsuppressed).
Public propertyIsActive(String)
True if the constraint is active (unsuppressed).
Public propertyIsActive(Object, String)
True if the constraint on a component occurrence or within a component document is active (unsuppressed). Note: to access a constraint *within* a component occurrence, use Constraint.IsActiveInSubassembly instead.

Remarks

The newer IManagedConstraints interface provides methods for adding and deleting constraints.

See Also

Reference

Was this information helpful?