Difference between revisions of "FAQ"

From VistrailsWiki
Jump to navigation Jump to search
Line 22: Line 22:


'''5. Given a VTK visualization, how can I generate a webpage from it?'''
'''5. Given a VTK visualization, how can I generate a webpage from it?'''
Check out the html pipeline in offscreen.xml.





Revision as of 04:28, 24 February 2007

1. How can I run a workflow using the command line?

Call vistrails using the following options:

python vistrails.py -l -b path_to_vistrails_file -w pipeline

Where pipeline is a version number or a tag.


2. How can I save an image from the spreadsheet?

While having the focus on a spreadsheet cell press "Ctrl" (on Windows) and select the camera to take a snapshot. The system will prompt you for the location and file name where it should be saved. The other icons can be used for saving multiple images that can be used for generating an animation on demand.


3. Is it possible to save the complete state of the spreadsheet? How?


4. How can I integrate my own program into VisTrails?

The easiest way is to create a package. Writing a package is often very simple, here are instructions on how to do it: UsersGuideVisTrailsPackages


5. Given a VTK visualization, how can I generate a webpage from it?

Check out the html pipeline in offscreen.xml.


6. Using the command line, we'd like to execute a workflow multiple times, with slightly different parameters, and create a series of output files. Is this possible?

Starting in rev 444, we can change parameters through the command line.

For example, offscreen pipeline in offscreen.xml always create the file called image.png. If you want generate it with a different filename:

python vistrails.py -l -b ../examples/offscreen.xml -w offscreen -a"filename=other.png"

This other example will keep the spreadsheet open:

python vistrails.py -l -b ../examples/head.xml -w aliases -a"isovalue=30,Diffuse_Color_R=0.8,Diffuse_Color_G=0.4,Diffuse_Color_B=0.2"