Home Search

DriveWorks Pro 23
PDM: Delete File

Send Feedback

PDM: Delete File

The Delete File Generation Task will delete a file out of the vault.

Properties

Property NameDescription
(Name)The unique name for this task.
Source File PathPath of the file to delete (must be inside the vault).

Example

When this Generation task is added the properties are both dynamic and 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
Source File Path"C:\VaultName\VaultFolder\MyPart.SLDPRT"C:\VaultName\VaultFolder\MyPart.SLDPRTThe file 'C:\VaultName\VaultFolder\MyPart.SLDPRT' will be deleted from the vault.

If the Source File Path is the same as the target model or drawing being generated, this task will only run in the Pre Copy or Post Close sequence.

Generation Sequence

This Task can be added to the following Generation Sequence(s):

  • Pre Copy (will be run before the master file is cloned)
  • Post Copy (will be run after the master file is cloned, but before opening in SOLIDWORKS)
  • Pre Drive (will be run before the Main Drive Sequence)
  • Post Drive (will be run after the Main Drive Sequence)
  • Pre Close (will be run before the SOLIDWORKS file is closed)
  • Post Close (will be run after the SOLIDWORKS file is closed)