On this page | |
Since | 17.5 |
This node creates a directory.
Parameters
Node
Use Upstream Index
When this toggle is enabled, the created directory’s name will be based on the upstream item’s node name and the work item index. The directory will be created in the PDG working directory.
Directory Name
Specifies the directory to create.
Processor
Generate When
Determines when this node will generate work items. You should generally leave this set to “Automatic” unless you know the node requires a specific generation mode, or that the work items need to be generated dynamically.
All Upstream Items are Generated
This node will generate work items once all of the input nodes have generated their work items.
All Upstream Items are Cooked
This node will generate work items once all of the input nodes have cooked their work items.
Each Upstream Item is Cooked
This node will generate work items each time a work item in an input node is cooked.
Automatic
The generation mode is selected based on the generation mode of the input nodes. If any of the input nodes are generating work items when their inputs cook, this node will be set to Each Upstream Item is Cooked. Otherwise, it will be set to All Upstream Items are Generated.
Examples
MakeADirectory Example for Make Directory TOP node
This example demonstrates how to use Make Dir to create directories on the system.