Mate Constraint <IvMateConstraint>

Synopsis

This creates a mate or flush assembly constraint between two Inventor components, where a component can be a part or an assembly. If two planar entities are constrained, mate solution will position the components so that the entities' normal vectors will point in opposite directions. Flush solution results in the normal vectors pointing in the same direction. With a mate constraint one can also specify curves, edges, and points as entities. In situations where mate constraints can lead to multiple (typically two) solutions, unambiguous results can be forced by specifying initial positions for one or both constrained items.

Mixins

IvMateConstraintModifier

IvConstraintMixin

BaseInventorMixin

Basepart

Parameters

Name Type Description
part1 part Part or assembly for the first item. However, if the first item is an assembly work feature of the parent assembly, part1 must be set to that. In this case you do not supply entity1 or imate1.
entity1 string Name of the first item (face, edge, etc.).
iMate1 string Name of an iMate that may be supplied for first item instead of entity1.
inferredType1 string This causes the entity type of entity1 to be interpreted in a specific way. Valid choices are InferredLine, InferredPoint, NoInferrence (the default).
part2 part Part or assembly for the second item. However, if the second item is an assembly work feature of the parent assembly, part2 must be set to that. In this case you do not supply entity2 or imate2.
entity2 string Name of the second item (face, edge, etc.).
iMate2 string Name of an iMate that may be supplied for second item instead of entity2. You cannot specify both iMate1 and iMate2.
inferredType2 string This causes the entity type of entity2 to be interpreted in a specific way. Valid choices are InferredLine, InferredPoint, NoInferrence (the default).
componentName string Name of constraint displayed in Inventor browser.
offset number Offset distance between the planar entities.
solution name Choices are Mate or Flush.
suppressed? boolean Should constraint be suppressed?
solutionFrame1 frame When multiple solutions are possible, consistent results can be obtained by using an initial position specified through solutionFrame1.
solutionPoint1 point When multiple solutions are possible, consistent results can be obtained by using an initial position specified through solutionPoint1 or the three inputs solutionPoint1, solutionXDirection1 and solutionYDirection1.
solutionXDirection1 vector When multiple solutions are possible, consistent results can be obtained by using an initial position specified through solutionPoint1, solutionXDirection1 and solutionYDirection1.
solutionYDirection1 vector When multiple solutions are possible, consistent results can be obtained by using an initial position specified through solutionPoint1, solutionXDirection1 and solutionYDirection1.
solutionFrame2 frame When multiple solutions are possible, consistent results can be obtained by using an initial position specified through solutionFrame2.
solutionPoint2 point When multiple solutions are possible, consistent results can be obtained by using an initial position specified through solutionPoint2 or the three inputs solutionPoint2, solutionXDirection2 and solutionYDirection2.
solutionXDirection2 vector When multiple solutions are possible, consistent results can be obtained by using an initial position specified through solutionPoint2, solutionXDirection2 and solutionYDirection2.
solutionYDirection2 vector When multiple solutions are possible, consistent results can be obtained by using an initial position specified through solutionPoint2, solutionXDirection2 and solutionYDirection2.