DriveWorks Pro 15: Create Distance Mate [send feedback...]

Create Distance Mate

The Create Distance Mate generation task will create a distance mate, in an assembly, between reference planes in each component.


Property NameDescriptionExample
(Name)The unique name for this task.Create Distance Mate
AlignedThe alignment type (True = Aligned, False = Anti-Aligned).TRUE
DistanceThe distance between the two planes (in model units).200
FlipFlip the distance (TRUE = Flipped, FALSE = Not Flipped). The default is FALSE.FALSE
First PlaneThe name of the first reference mating plane."Plane1@Part1 " & DWSpecification & "-1"
Second PlaneThe name of the second reference mating plane."Right Plane@Part2 " & DWSpecification & "-1"

Rules for planes

When building the rule for the plane names, they must reference the generated file name and not the master. The rule must be built in the form: [Plane Name]@[Generated model name]-[Instance number]

If the plane is in the top level assembly, only the plane name is required.

The rule must include the instance number, even if there is only one instance of the component in the assembly.

Mating planes can only be one level deep. For example, the rule: [Plane Name]@[Generated model name]@[Generated sub assembly name] would not be valid.

DriveWorks Tech Tips Portal

Insert Component Generation Task

This project demonstrates how to insert and define a component using Generation Tasks, and also how to use Looping to insert multiple components.

View all Tech Tips

DriveWorks Tech Tips Portal is available to DriveWorks Pro customers with an active subscription and support contract.

Tech Tips provide cut down projects that highlight specific functionality for faster and more effective learning.

To access the portal:

  1. Go to
  2. Login with your DriveWorks Pro account credentials, if asked
  3. Click the Visit Tech Tips Portal button for access

The portal provides a search facility, start typing the name of the Tech Tip (as indicated above) to display the Tip you require.

Table of Contents