Open topic with navigation
<viz:res>.addPublishDirectory
Recursively add all files in a directory to the publish dependency list
<viz:res>.addPublishDirectory( |
|
directory |
pattern = '*' |
) |
|
directory
Path to existing directory. Can be a relative path.
pattern = '*'
Pattern describing which files should be added.
Remarks
Use the pattern to filter out which files you want to add. For example, if you only want to add jpg files use '*.jpg'
Return Value
None
Example
#Add all files in images subfolder
viz.res.addPublishDirectory('./images')
See also