Home Search

DriveWorks Pro 22
Create Profile Center Mate

Send Feedback

Create Profile Center Mate

The Create Profile Center Mate Generation Task will create a Profile Center Mate, in an Assembly, between named Faces in each Component.

This Generation Task does require named faces to exist in the models being mated. Edges or Planes cannot be used.

See How to Name and Write Rules for a Face or Plane in a SOLIDWORKS Part for more information about Naming and Writing Rules.


Property NameDescription
(Name)The unique name for this task.
AlignedThe alignment type (True = Aligned, False = Anti-Aligned).
DistanceThe distance between the two faces (in model units).
FlipFlip the distance (TRUE = Flipped, FALSE = Not Flipped). The default is FALSE.
Lock RotationOnly applies to circular faces (TRUE = Locked, FALSE = Not Locked). The default is FALSE.
First FaceThe name of the first reference mating face.
Second FaceThe name of the second reference mating face.


When this 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 RuleExample ResultMeaning
AlignedFALSEFALSEFALSE will mean the mate type is Anti-Aligned. TRUE would make the mate Aligned.
Distance00This is the Distance between the two mating Faces. This is measured in the Model units.
FlipTRUETRUEThis will flip the direction in which the dimension value will be enacted.
Lock RotationTRUETRUETRUE will Lock the Rotation of Cylindrical parts that are inserted with the mate.
First Face"BaseMountingFace@Base " &DWSpecificationId&"-1"BaseMountingFace@Base 9999-1The Name of the First Reference Mating Face.
Second Face"CoverFace@Cover " &DWSpecificationId&"-1"CoverFace@Cover 9999-1The Name of the Second Reference Mating Face.
Rules for Face Names

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

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

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

Face Names can be multiple levels deep. For example, the rule:

[Face or Plane Name]@[Generated model name]-[Instance number]@[Generated sub sub assembly name]-[Instance number]@[Generated sub assembly name]-[Instance number]

would be valid.

To determine the exact address of the Mate Selections:

Manually mate the same entities in SOLIDWORKS and note the addresses given in the Mate Selections window.

When filling out the Entity Names it is important to remember to add a space after the end of your model name before your quote otherwise the Task will not work. For example "Part "&DWSpecificationId .

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

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)

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 https://my.driveworks.co.uk/learn/tech-tips/
  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.