Home Search

DriveWorks Pro 23
Create Distance Mate

Send Feedback

Create Distance Mate

The Create Distance Mate Generation Task will create a Distance Mate, in an Assembly, between Planes in each Component.

File Names used in Mate References

We strongly recommend that File Names of components being mated do not contain a . (dot).

For example:

Bracket.LeftHand

If this cannot be avoided ensure the Windows Explorer setting to show File name extensions is applied on each machine that generates models.

Please see Info: SOLIDWORKS System Options - Windows File Explorer for more information.

Properties

Property NameDescription
(Name)The unique name for this task.
AlignedThe alignment type (True = Aligned, False = Anti-Aligned).
DistanceThe distance between the two planes (in model units).
FlipFlip the distance (TRUE = Flipped, FALSE = Not Flipped). The default is FALSE.
First PlaneThe name of the first reference mating plane.
Second PlaneThe name of the second reference mating plane.

Example

When this Generation task is added the properties are both static and dynamic by default. See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

Property NameExample RuleMeaning
AlignedFALSEThe Alignment type. TRUE for Aligned and FALSE for Anti-Aligned.

For more information about Mate Alignment see Mate Alignment in the SOLIDWORKS Help file.

Distance200The distance between the two Mating Planes in Model Units
FlipFALSEFlip the distance (TRUE = Flipped, FALSE = Not Flipped). The default is FALSE.
First Plane"Right Plane@Bracket " &DWSpecification&"-1"Will use Right Plane that exists in the generated component Bracket MyProject 9999 with the instance number -1.

To reference an entity in a component that is multiple levels deep see Referencing Faces and Planes.

Second Plane"Plane2@Rib " &DWSpecification&"-1"Will use Plane2 that exists in the generated component Rib MyProject 9999 with the instance number -1.

To reference an entity in a component that is multiple levels deep see Referencing Faces and Planes.

Generation Sequence

This Task can be added to the following Generation Sequence(s):

  • Pre Drive (will be run before the Main Drive Sequence)
  • Post Drive (will be run after the Main Drive Sequence)

See Also

The following Generation Tasks are available to create other mate types:

The following topic shows how to create Named Faces and gives information on how references are structured for entities of varying levels of depth.

Additional Resources

MyDriveWorks - Tech Tips

Insert and Mate

This Project demonstrates how to insert and mate a component using Generation Tasks and how to use looping to insert multiple components.