13.1 Constraint object

The Constraint object is the abstract base type for other Constraint objects. The Constraint object has no explicit constructor. The members of the Constraint object are common to all objects derived from the Constraint.

Access
import interaction
mdb.models[name].constraints[name]


13.1.1 resume()

This method resumes the constraint that was previously suppressed.

Arguments

None.

Return value

None

Exceptions

None.


13.1.2 suppress()

This method suppresses the constraint.

Arguments

None.

Return value

None

Exceptions

None.


13.1.3 delete(...)

This method allows you to delete existing constraints.

Required argument

indices

A sequence of Ints specifying the index of each constraint to delete.

Optional arguments

None.

Return value

None

Exceptions

None.


13.1.4  Members

The Constraint object has the following members:

name

A String specifying the constraint repository key.

suppressed

A Boolean specifying whether the constraint is suppressed or not. The default value is OFF.