Examples

Attribute Copy

example_top_attributecopy Example for Attribute Copy TOP node

This example demonstrates how to copy attributes from one workitem to another.

Attribute Create

example_top_attributecreate Example for Attribute Create TOP node

This example demonstrates how to create attributes for workitems of TOP nodes.

Attribute Delete

example_top_attributedelete Example for Attribute Delete TOP node

This example demonstrates how to delete attributes for workitems of TOP nodes.

Attribute from String

example_top_attributefromstring Example for Attribute from String TOP node

This example demonstrates how to create attributes for workitems from a piece of string attribute coming from upstream.

CSV Input

example_top_csvinput Example for CSV Input TOP node

This example demonstrates how to read in data from CSV files. The CSV Input node will read CSV files and create 1 workitem per row.

CSV Output

example_top_csvoutput Example for CSV Output TOP node

This example demonstrates how to create a csv file from pdg work item’s attributes.

Download File

example_top_downloadfile Example for Download File TOP node

This example demonstrates how to download a file using the downloadfile node.

Environment Edit

example_top_environmentedit Example for Environment Edit TOP node

This example demonstrates how to modify the environment variables before spawning a child process.

Error Handler

example_top_errorhandler Example for Error Handler TOP node

This example demonstrates how to use the Error Handler node in PDG / TOPs.

Block Begin Feedback

example_top_feedbackbegin Example for Block Begin Feedback TOP node

This example demonstrates how to create a feedback loop.

Block End Feedback

example_top_feedbackend Example for Block End Feedback TOP node

This example demonstrates how to create a feedback loop.

FFmpeg Encode Video

example_top_ffmpegencodevideo Example for FFmpeg Encode Video TOP node

This example demonstrates how to use FFmpeg Encode Video node to encode a sequence of images into a video file.

FFmpeg Extract Images

example_top_ffmpegextractimages Example for FFmpeg Extract Images TOP node

This example demonstrates how to use FFmpeg Extract Images node to extract images from a video file.

File Compress

example_top_filecompress Example for File Compress TOP node

This example demonstrates how to compress files using TOPs / PDG.

input1 Example for File Compress TOP node

input2 Example for File Compress TOP node

File Copy

example_top_filecopy Example for File Copy TOP node

This example demonstrates how to copy files using TOPs / PDG.

input1 Example for File Copy TOP node

This is the first input for the PDG copyfile node test.

File Decompress

example_top_filedecompress Example for File Decompress TOP node

This example demonstrates how to decompress files using TOPs / PDG.

File Pattern

example_top_filepattern Example for File Pattern TOP node

This example demonstrates how to use File Pattern to load files using a match expression.

/nodes/top/filepattern/input

/nodes/top/filepattern/input/index_from_file_seq

/nodes/top/filepattern/input/override_index

/nodes/top/filepattern/input/override_tag

/nodes/top/filepattern/input/type_all

/nodes/top/filepattern/input/type_all/type_all_dir

/nodes/top/filepattern/input/type_directories

File Remove

example_top_fileremove Example for File Remove TOP node

This example demonstrates how to remove a file using the Remove File node.

File Rename

example_top_filerename Example for File Rename TOP node

This example demonstrates how to use the File Rename node to rename a group of files.

Filter by Expression

example_top_filterbyexpression Example for Filter by Expression TOP node

This example demonstrates how to filter upstream workitems so that the remaining set can be further processed or debugged.

/nodes/top/forloopwithfeedback

example_top_forloopwithfeedback

This example demonstrates how to use the for loop with feedback construct in PDG/TOPs.

Generic Generator

example_top_genericgenerator Example for Generic Generator TOP node

This example demonstrates how to use generic generators to both prototype setups and to run custom command line executables.

Geometry Import

example_top_geometryimport Example for Geometry Import TOP node

This example demonstrates how to use geometry import to interact with SOP networks by creating a workitem per detail, primitive, point, or vertex.

HDA Processor

example_top_hdaprocessor Example for HDA Processor TOP node

This example demonstrates how to use HDA Processor to distribute HDAs using PDG/TOPs.

ImageMagick

example_top_imagemagick Example for ImageMagick TOP node

This example demonstrates how to use Image Magick to montage and convert images.

Invoke

example_top_invoke Example for Invoke TOP node

This example demonstrates how to run compiled blocks using pdg data as input.

Json Input

example_top_jsoninput Example for Json Input TOP node

This example demonstrates how to use json input node to create workitems based on information contained in json files.

Json Output

example_top_jsonoutput Example for Json Output TOP node

This example demonstrates how to use json output node to write workitem data to json format, or to reformat existing json files.

Make Directory

example_top_makedir Example for Make Directory TOP node

This example demonstrates how to use Make Dir to create directories on the system.

Map All

example_top_mapall Example for Map All TOP node

This example demonstrates how to use the Map All node to establish dependencies from everything downstream to everything upstream.

Map by Index

example_top_mapbyindex Example for Map by Index TOP node

This example demonstrates how to use the Map by Index node to establish dependencies from downstream to upstream based on workitem index.

Map by Range

example_top_mapbyrange Example for Map by Range TOP node

This example demonstrates how to use the Map by Range node to establish dependencies from downstream to upstream based on workitem index.

Merge

example_top_merge Example for Merge TOP node

This example demonstrates how to use the merge node in PDG/TOPs.

Null

example_top_null Example for Null TOP node

This example demonstrates the usage of null nodes.

/nodes/top/partitionall

example_top_partitionall

This example demonstrates how to use the partition all node in PDG/TOPs.

Partition by Attribute

example_top_partitionbyattribute Example for Partition by Attribute TOP node

This example demonstrates how to use the partition by attribute node in PDG/TOPs.

Partition by Bounds

example_top_partitionbybounds Example for Partition by Bounds TOP node

This example demonstrates how to use the partition by bounds node in PDG/TOPs.

Partition by Combination

example_top_partitionbycombination Example for Partition by Combination TOP node

This example demonstrates how to use the partition by combination node in PDG/TOPs.

Partition by Comparison

example_top_partitionbycomparison Example for Partition by Comparison TOP node

This example demonstrates how to use the partition by combination node in PDG/TOPs.

Partition by Expression

example_top_partitionbyexpression Example for Partition by Expression TOP node

This example demonstrates how to use the partition by expression node in PDG/TOPs.

Partition by Frame

example_top_partitionbyframe Example for Partition by Frame TOP node

This example demonstrates how to use the partition by frame node in PDG/TOPs.

Partition by Index

example_top_partitionbyindex Example for Partition by Index TOP node

This example demonstrates how to use the partition by index node in PDG/TOPs.

Partition by Node

example_top_partitionbynode Example for Partition by Node TOP node

This example demonstrates how to use the partition by node in PDG/TOPs.

Partition by Range

example_top_partitionbyrange Example for Partition by Range TOP node

This example demonstrates the multiple partition options provided by the partition by range node.

Partition by Tile

example_top_partitionbytile Example for Partition by Tile TOP node

This example demonstrates how to use the partition by tile node in PDG/TOPs.

Perforce

example_top_perforce Example for Perforce TOP node

This example demonstrates how to perform multiple perforce operations.

/nodes/top/pythoncommandchain

example_top_pythoncommandchain

This example demonstrates how to create python command chains.

Python Mapper

example_top_pythonmapper Example for Python Mapper TOP node

This example demonstrates how to use the Python Mapper node in PDG/TOPs.

Python Partitioner

example_top_pythonpartitioner Example for Python Partitioner TOP node

This example demonstrates how to use the Python Partitioner node in PDG/TOPs.

Python Processor

example_top_pythonprocessor Example for Python Processor TOP node

This example demonstrates how to use the python processor in PDG/TOPs.

Python Script

example_top_pythonscript Example for Python Script TOP node

This example demonstrates how to use the Python Script node in PDG/TOPs.

Render IFD

example_top_renderifd Example for Render IFD TOP node

This example demonstrates how to render ifd files using the renderifd node.

ROP Alembic Output

example_top_ropalembic Example for ROP Alembic Output TOP node

This example demonstrates how to produce an alembic (abc) file from a sop node using the top rop alembic node.

ROP Composite Output

example_top_ropcomposite Example for ROP Composite Output TOP node

This examples demonstrates how to use rop composite node to run a cop network using pdg data as input.

ROP Fetch

example_top_ropfetch Example for ROP Fetch TOP node

This example demonstrates how to use the ROP Fetch node in PDG/TOPs.

ROP Geometry Output

example_top_ropgeometry Example for ROP Geometry Output TOP node

This example demonstrates how to use the ROP Geometry node in PDG/TOPs.

example_variable_range Example for ROP Geometry Output TOP node

This example demonstrates how to set a variable frame range on a ROP Geometry TOP node.

ROP Mantra Render

example_top_ropmantra Example for ROP Mantra Render TOP node

This example demonstrates how to use the ROP Mantra node in PDG/TOPs.

Send Email

example_top_sendemail Example for Send Email TOP node

This example demonstrates how to use the send email top node to send a simple e-mail.

Sort

example_top_sort Example for Sort TOP node

This example demonstrates how to use the sort node in PDG/TOPs.

Split

example_top_split Example for Split TOP node

This example demonstrates how to use the split node in PDG/TOPs.

Switch

example_top_switch Example for Switch TOP node

This example demonstrates how to use the switch node in PDG/TOPs.

/nodes/top/texttocsv

animals

name-animal_type-image_path Bella-cat-myImages-bella.jpg Moo-cow-myImages/moo.jpg Squeaky-mouse-myImages/squeaky.jpg

example_top_texttocsv

This example demonstrates how to use the Text to CSV node in PDG/TOPs.

TOP Fetch

example_top_topfetch Example for TOP Fetch TOP node

This example demonstrates how to use Top Fetch to fetch results from other top networks.

TOP Fetch Input

example_top_topfetchinput Example for TOP Fetch Input TOP node

This example demonstrates how to use Top Fetch to fetch results from other top networks (using Top Fetch Input).

Wedge

example_top_wedge Example for Wedge TOP node

This example demonstrates how to use the wedge node in PDG/TOPs.

Work Item Expand

example_top_workitemexpand Example for Work Item Expand TOP node

This example demonstrates how to use the workitem expand node in PDG/TOPs.

Xml Input

example_top_xmlinput Example for Xml Input TOP node

This example demonstrates how to use the xml input node in PDG/TOPs.

Node examples

Examples by node type