Home Search

DriveWorks Pro 21
Regenerate and Delete Specification Components

Send Feedback

Regenerate and Delete Specification Components

The Regenerate and Delete Specification Components Task, when applied, will mark the released Components of a Specification for deletion and regeneration.

Properties

Property NameDescription
Specification IdThe ID of the Specification whose released components to delete and mark for regeneration.
TitleChanges the Title (not the name) of the task.

Examples

When this task is added the properties are static 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
SpecificationIdSpecificationIdReturn10 For the Specification with Id 10, DriveWorks will delete all of the released SOLIDWORKS models for this Specification and then regenerate them.

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

  • Successfully deleted all Components in the Specification and marked them for Generation.

Success with Warnings

  • Specification could not be found.
  • No released Components in the Specification.
  • Couldn't delete Component file.
  • Component file doesn't exist on disk.
  • Component was not Generated.

Failed

  • Invalid Specification ID.
  • General error - see Specification Report for more information.


See also

Regenerate and Delete Component

Regenerate and Overwrite Component

Regenerate and Overwrite Specification Components