Home Search

DriveWorks Pro 22
Regenerate and Overwrite Component

Send Feedback

Regenerate and Overwrite Component

The Regenerate and Overwrite Component Task, when applied, will mark for generation and set the overwrite flag of a released component.

Properties

Property NameDescription
ComponentThe target path or the unique identifier of the released component to update the overwrite flag for (E.g. "0FF18C75-F455-4123-9930-6628F7B66A6C").
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
Component"C:\DriveWorks\Specifications\" & DWSpecification & "\Part.SLDPRT"C:\DriveWorks\Specifications\MyProject 0001\Part.SLDPRTFor this released component, DriveWorks will mark the released SOLIDWORKS model 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 Component for generation, and flagged for overwrite.

Success with Warnings

  • Overwrite flag already set on Component.
  • Component not generated.

Failed

  • Could not locate Component with ID provided.
  • Unable to find released Component by path
  • General error - see Specification Report for more information.


See also

Regenerate and Delete Component

Regenerate and Delete Specification Components

Regenerate and Overwrite Specification Components