MyDriveWorks - Tech Tips
This Project demonstrates how to insert and mate a component using Generation Tasks and how to use looping to insert multiple components.
The Create Coordinate System Mate Generation Task will create a Coincident or Axis-Aligned Mate, in an Assembly, between two Coordinate Systems.
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.
| Property Name | Description |
|---|---|
| First Coordinate System Name | The 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 Name | The 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 Axis | The alignment type (TRUE = Axis Aligned, FALSE = Anti-Aligned) TRUE by default. |
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 Name | Example Rule | Meaning |
|---|---|---|
| First Coordinate System Name | "Point1@Origin" | This is the name of the First Coordinate System used for creating the Mate.
To reference an entity in a component that is multiple levels deep see Referencing Faces and Planes. |
| Second Coordinate System Name | "Coordinate System1@Base " &DWSpecificationId&"-1" | This is the name of the Second Coordinate System used for creating the Mate.
To reference an entity in a component that is multiple levels deep see Referencing Faces and Planes. |
| Align Axis | TRUE | TRUE means that the Mate will be Aligned.
For more information about Mate Alignment see Mate Alignment in the SOLIDWORKS Help file. |
This Task can be added to the following Generation Sequence(s):
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.
This Project demonstrates how to insert and mate a component using Generation Tasks and how to use looping to insert multiple components.
View all available MyDriveWorks Tech Tips.