Home Search

DriveWorks Pro 23
PDMPro: Create Folder

Send Feedback

PDMPro: Create Folder

This Specification Flow Task will create a new folder in the specified vault.

Note: Ensure the SolidWorks PDM Plugin Settings is set up and enabled.

Properties

Property NameDescription
Folder PathThe full path of the folder in the local view that will be created in the vault.
Constant Name The name of the Constant into which the result should be driven (Optional).
Template Name The name of the PDM Folder Template to apply to the new folder (Optional).

Example

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.

PropertyExample ruleExample resultMeaning
Folder Path"C:\PDMVaultLocalView\NewFolder\" & DWSpecificationIDC:\PDMVaultLocalView\NewFolder\0098DriveWorks will create the new folder.
Constant NameMyResultConstantMyResultConstantWhen the task is run, the result of whether the folder was successfully created or not will be written to this Constant.
Template Name"Contract Template"Contract TemplateThe PDM Folder Template 'Contract Template' will be applied to the new folder.

This is the name of the folder template in PDM. To get a list of available folder templates, use the function PDMGetFolderTemplates.

If using DriveWorks Live and the "Show Card" option is checked for Folder/Data cards in the Template this will present the input card values pop-up on the machine hosting DriveWorks Live.

Using the Task in a Specification Macro

Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.

Status Outputs

This task supports Status Outputs. They 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

  • Folder created
  • Folder created and Template applied

Success with Warnings

  • Folder already exists

Failure (one of the following occurred)

  • Folder path empty
  • Folder path invalid
  • Not logged in to the Vault
  • Template Name not valid
  • General failure - Check the specification report for more details.