Home Search

DriveWorks Pro 22
Create Angle Mate

Send Feedback

Create Angle Mate

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.

Properties

Property NameDescription
(Name)The unique name for this task.
AlignedThe alignment type. TRUE to Align, FALSE to Anti-Align
AngleThe angle of the mate to create.
Entity One NameThe name of the first entity to mate.
Entity One TypeThe type of the first entity to mate.
Entity Two NameThe name of the second entity to mate.
Entity Two TypeThe type of the second entity to mate.
Flip DimensionTRUE to flip the dimension, FALSE to not flip the dimension. The default is FALSE.

Example

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 NameExample RuleExample ResultMeaning
AlignedFALSEFALSEThe Alignment type. TRUE for Aligned and FALSE for Anti-Aligned.
Angle6060This is the angle of the Mate to create in °.
Entity One Name"MountFaceLeft@HindgeL " &DWSpecificationId&"-1"MountFaceLeft@HindgeL 9999-1The name of the first entry to Mate. This needs to be the name of the Part to be created not the Master.
Entity One TypeNamedFaceNamedFaceThe type of the first entity to mate.
Entity Two Name"Plane3@HindgeR " &DWSpecificationId&"-1"Plane3@HindgeR 9999-1The name of the second entry to Mate. This needs to be the name of the Part to be created not the Master.
Entity Two TypePlanePlaneThe type of the Second entity to Mate.
Flip DirectionFALSEFALSEFALSE will not flip the direction of the dimension. TRUE would flip the direction of the dimension.
Rules for Face or Plane Names

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.

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)