Home Search

DriveWorks Pro 22
Remove Component References Created By A Specification and Delete Files

Send Feedback

Remove Component References Created By A Specification and Delete Files

This Specification Macro Task will remove the referenced components created by a specific Specification. This can be run on an existing Specification, or on the current Specification. This will only remove references to components CREATED by this Specification. It will not touch references created be a previous Specification and then used again here. It will also delete the target reference.

Properties

Property NameDescription
Specification IDThe id of the specification. Leave blank or set to less than 1 to remove the references for the current specification.
Ignore Models from Embedded Child SpecificationsTRUE to ignore models released by an embedded child specification, FALSE to include all models.

Example

When this task has been added, the properties are static. To build rules on a static property see How To: Change A Static Property To A Dynamic Property.

Property NameExample RuleExample ResultMeaning
Specification ID3434This is the Specification ID of the specification that you want to remove component references and delete files for.

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

  • Component references were removed and files deleted.

Success with Warnings

  • Component references were removed but not all files were deleted.

Failed (one of the following occurred)

  • Could not find any Component References related to the Specification.
  • The Specification could not be found.
  • General failure - Check the Specification report for more details.