Home Search

DriveWorks Pro 22
Mark Component References For Regeneration

Send Feedback

Mark Component References For Regeneration

This Task will mark the component for regeneration based on a target file name.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the Task.
File NameFull File Path (Including Extension) of the target referenced 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.

This example is designed to show the break down of the Rule you need to select a Specification model for a previously run Specification to mark the models for regeneration.

This is not the advised way of writing this Rule. Good practice would be to put the different elements of the rule into different Variables.

Depending on what your Rules for Specification name and Components File names are will determine the complexity of your Rule and whether you need to carry out any text formatting.


Property NameExample RuleExample ResultMeaning
File NameDWSpecificationDefaultFolder&"\Fixtures "&SpecIDReturn&"\Bracket "&Text(SpecIDReturn,"00")&".SLDPRT"C:\MyDocuments\Fixtures\Specifications\Fixtures 0017\Bracket 17.SLDPRTThis is the Full File Path of the Component that you want to Mark for regeneration in Autopilot.

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 reference has been marked for regeneration.

Success with Warnings

  • N/A - Should never be fulfilled.

Failed (one of the following occurred)

  • The File Name is not valid.
  • The File Name is blank.
  • General failure - Check the Specification report for more details.