Home Search

DriveWorks Pro 22
Regenerate and Overwrite Specification Components

Send Feedback

Regenerate and Overwrite Specification Components

The Regenerate and Overwrite Specification Components Task, when applied, will mark for generation and set the overwrite flag of a Specifications released components.

Properties

Property NameDescription
Specification IdThe ID of the Specification whose components will be marked for regeneration and have their overwrite flag set.
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
SpecificationIdSpecificationIdReturn10For the Specification with Id 10, DriveWorks will mark all of the released SOLIDWORKS models to be regenerated and set the overwrite flag to true which forces DriveWorks to allow the user to regenerate the files.

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 marked all Components for Generation, and flagged for overwrite.

Success with Warnings

  • Specification not found, or no released Components found in the Specification.
  • Unable to update overwrite flag.
  • Component not generated.

Failed

  • Invalid Specification ID.
  • Could not locate Component with ID provided.
  • General error - see Specification Report for more information.


See also

Regenerate and Delete Component

Regenerate and Delete Specification Components

Regenerate and Overwrite Component