Home Search

DriveWorks Pro 22
Position Component In Assembly

Send Feedback

Position Component In Assembly - SOLIDWORKS PowerPack

This Generation Task will position a component in an Assembly using given X, Y and Z positions. The Task uses the model units.


Property NameDescription
(Name)The unique name for this Task.
Component NameThe name of the component in the Assembly, including the Instance number.

Order Of Instance

The instance order in the SOLIDWORKS feature manager does not necessarily follow the order DriveWorks recognizes.

DriveWorks requires the Instance number to be taken from the order it is listed in the SOLIDWORKS Feature Manager. For example:

SOLIDWORKS Feature Manager displayDriveWorks Order Of Instance








If you are unsure of the instance ordering, the DriveWorks capture assistant will indicate the order through Captured Parameter Highlighting.

In the image below Flange <5> in the SOLIDWORKS feature manager is Instance 1 to DriveWorks.

Captured Parameter Highlighting indicates the instance parameter in the DriveWorks capture assistant, on the model AND in the SOLIDWORKS feature manager.

Reset RotationTRUE to align the rotation to the Assembly Origin, FALSE to keep the existing components rotation.
X PositionThe new position in the X Direction.
Y PositionThe new position in the Y Direction.
Z PositionThe new position in the Z Direction.


When this task is added the properties are both static and dynamic 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
Component Name"Bush " &DWSpecification&"-1"Bush 9999-1This is the component name and Instance number of the component to be positioned.
X Position1010This is the distance in the X position that the component will be placed.
Y Position2525This is the distance in the Y position that the component will be placed.
Z Position-5-5This is the distance in the Z position that the component will be placed.

Make sure that your component name matches exactly with your rule including any spaces in the name or between the name and Specification name and number.

Generation Sequence

This Task can be added to SOLIDWORKS Assemblies in 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)