Home Search

DriveWorks Pro 22
Create Coordinate System Mate

Send Feedback

Create Coordinate System Mate

The Create Coordinate System Mate Generation Task will create a Coincident or Axis-Aligned Mate, in an Assembly, between two Coordinate Systems.


Property NameDescription
First Coordinate System NameThe name of the First Coordinate System to name.

The Origin Coordinate System Name can also be used, see note under the example below.

Second Coordinate System NameThe name of the Second Coordinate System to name.

The Origin Coordinate System Name can also be used, see note under the example below.

(Name)The unique name for this task.
Align AxisThe alignment type (True = Axis Aligned False or blank = Anti-Aligned).


When this Task is added the properties are static 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
AlignedTRUETRUETRUE means that the Mate will be Aligned.
First Coordinate System Name"Coordinate System1@Frame " &DWSpecificationId&"-1"Coordinate System1@Frame 9999-1This is the name of the First Coordinate System used for creating the Mate.
Second Coordinate System Name"Coordinate System1@Base " &DWSpecificationId&"-1"Coordinate System1@Base 9999-1This is the name of the Second Coordinate System used for creating the Mate.
Using the Origin coordinate system

The Origin coordinate system can also be used for the First or Second Coordinate System Name.

This requires the following address system:


Example rule:

"Point1@Origin@MateCoordSysPart "&DWSpecification&"-1"

The full address also requires the assembly name, for example:


But DriveWorks will add this if omitted.

Rules for Coordinate System Names

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

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

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

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

[Coordinate System 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.