TRUE set Alignment type to Aligned. FALSE would set this to Anti-Aligned.

Lock Rotation

TRUE

TRUE

TRUE will Lock the Rotations not allowing the Component to rotate. FALSE will allow the Component to rotate.

Position Only

FALSE

FALSE

FALSE will apply the Mate. Making this property TRUE will just place the Components but will not Mate them.

First Reference

"RunningFace@Axle "&DWSpecificationId&"-1"

RunningFace@Axle 9999-1

The Name of the first reference Mating Face or Axis.

First Reference Type

Named Face

Named Face

Named Face is the type of reference. Choice of Named Face or Axis.

Second Reference

"CentralAxis@Bracket "&DWSpecificationId&"-1"

CentralAxis@Bracket 9999-1

The Name of the second reference Mating Face or Axis.

Second Reference Type

Axis

Axis

Axis is the type of reference. Choice of Named Face or Axis.

Rules for faces

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

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

Mating planes can only be one level deep. For example, the rule: [Face Name]@[Generated model name]@[Generated sub assembly name] would not be valid.

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.

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.