Share

AssemblyConstraints Object


Description

Provides access to the collection in the top level of the assembly.

Methods

Name Description
AddAngleConstraint Method that creates a new angle assembly constraint.
AddFlushConstraint Method that creates a new flush assembly constraint.
AddInsertConstraint Method that creates a new insert assembly constraint.
AddInsertConstraint2 Creates a new Insert assembly constraint.
AddMateConstraint Method that creates a new mate assembly constraint. The two input entities can be a combination of planar faces, linear edges, vertices, cylindrical faces, conical faces, spherical faces, revolved faces, work planes, work axes, and work points. When a cylindrical, conical, or revolved face is input, the axis of the surface is used for the constraint. When a sphere is input, the center point of the sphere is used for the constraint. To use the surface of a cylindrical, conical, or spherical face use the EntityOneInferredType or EntityTwoInferredType arguments.
AddMateConstraint2 Creates a new Mate assembly constraint.
AddRotateRotateConstraint Method that creates a new rotation motion constraint.
AddRotateTranslateConstraint Method that creates a new rotate-translate motion constraint.
AddSymmetryConstraint Creates a new Symmetry assembly constraint.
AddTangentConstraint Method that creates a new tangent assembly constraint.
AddTransitionalConstraint Method that creates a new transitional constraint.

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
Count Property that returns the number of items in this collection.
Item Returns the specified AssemblyConstraint object from the collection. This is the default property of the AssemblyConstraints collection object.
Parent Property that returns the parent of the object.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

AssemblyComponentDefinition.Constraints, WeldmentComponentDefinition.Constraints

Version

Introduced in version 4

Was this information helpful?