DriveWorks Pro 18: Update The Target Path Of A Specified Released Component [send feedback...]

Update The Target Path Of A Specified Released Component

This Specification Task will update the Target Path of a specified Released component. This allows you to change the location for the component before generating it.

This Task is for changing the Target Path of Release components and NOT for generated components

Properties

Property NameDescription
TitleChanges the Title (not the name) of the task.
Released Component Target PathFull File Path (including extension) of the Released component.
New Target PathFull File Path (including extension) of the new Target File location.

Example

When this Task is added the properties are static. To be able to build rules on a static property see How To: Change A Static Property To A Dynamic Property.

Property NameExample RuleExample ResultMeaning
Released Component Target Path"DWSpecificationFullPath&"\BasePlate "&DWSpecificationId&".SLDPRT"C:\MyDocuments\Project\Specifications\Bracket 9999\BasePlate 9999.SLDPRTThis is the Full File Path to the Released component to change the file path for.
New Target Path"C:\MyDocuments\NewLocation\BasePlate "&DWSpecificationId&".SLDPRT"C:\MyDocuments\NewLocation\BasePlate 9999.SLDPRTThis will be the new Target Path for the Released component.

Using the Task in a Specification Macro

This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.

Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.

Status Outputs

This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.

The status output navigation is as follows:

Success

  • The Target Path was updated.

Success with Warnings

  • N/A - Should never be fulfilled.

Failed (one of the following occurred).

  • Unable to update the Target Path.
  • General failure - Check the Specification report for more details.

Table of Contents