The Create Angle Mate Generation task will create an Angle Mate between two entities in an Assembly.
This Generation Task does require named faces to exist in the models being mated. Planes can also be used but Edges 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 Name | Description |
---|---|
(Name) | The unique name for this task. |
Aligned | The alignment type. TRUE to Align, FALSE to Anti-Align |
Angle | The angle of the mate to create. |
Entity One Name | The name of the first entity to mate. |
Entity One Type | The type of the first entity to mate. |
Entity Two Name | The name of the second entity to mate. |
Entity Two Type | The type of the second entity to mate. |
Flip Dimension | TRUE to flip the dimension, FALSE to not flip the dimension. The default is FALSE. |
When this Generation 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 | Example Result | Meaning |
---|---|---|---|
Aligned | FALSE | FALSE | The Alignment type. TRUE for Aligned and FALSE for Anti-Aligned. |
Angle | 60 | 60 | This is the angle of the Mate to create in °. |
Entity One Name | "MountFaceLeft@HindgeL " &DWSpecificationId&"-1" | MountFaceLeft@HindgeL 9999-1 | The name of the first entry to Mate. This needs to be the name of the Part to be created not the Master. |
Entity One Type | NamedFace | NamedFace | The type of the first entity to mate. |
Entity Two Name | "Plane3@HindgeR " &DWSpecificationId&"-1" | Plane3@HindgeR 9999-1 | The name of the second entry to Mate. This needs to be the name of the Part to be created not the Master. |
Entity Two Type | Plane | Plane | The type of the Second entity to Mate. |
Flip Direction | FALSE | FALSE | FALSE will not flip the direction of the dimension. TRUE would flip the direction of the dimension. |
When building the rule for the Face or Plane Names, they must reference the generated file name and not the master. The rule must be built in the form: [Face or Plane Name]@[Generated model name]-[Instance number].
If the Face or Plane is in the top level assembly, only the Face or Plane name is required.
The rule must include the instance number, even if there is only one instance of the component in the assembly.
Face or Plane 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.
This Task can be added to the following Generation Sequence(s):