Open topic with navigation
<viz:res>.addPublishFile
Add a file to publish dependency list
<viz:res>.addPublishFile( |
|
filename |
) |
|
filename
Resource filename
Remarks
This command manually adds a file to the publish dependency list. There are a few cases where Vizard can miss some dependencies. To work around this, you can use this command to notify Vizard that your script depends on the specified file.
Return Value
None
Example
# Specify some publish dependencies
viz.res.addPublishFile('help.htm')
viz.res.addPublishFile('help.css')
See also