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 Coincident Mate Generation Task will create a Coincident Mate, in an Assembly, between two planes.
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 |
|---|---|
| (Name) | The unique name for this task. |
| Aligned | The alignment type (True = Aligned, False = Anti-Aligned). |
| First Plane | The name of the first reference mating plane. |
| Second Plane | The name of the second reference mating plane. |
When this Generation task is added the properties are Dynamic by default.
| Property Name | Example Rule | Meaning |
|---|---|---|
| Aligned | FALSE | The Alignment type. TRUE for Aligned and FALSE for Anti-Aligned.
For more information about Mate Alignment see Mate Alignment in the SOLIDWORKS Help file. |
| First Plane | "Top Plane" | Will use Top Plane that exists in the assembly the task is being run on.
To reference an entity in a component that is multiple levels deep see Referencing Faces and Planes. |
| Second Plane | "Plane1@Rib " &DWSpecification&"-1" | Will use Plane1 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. |
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.