Quick start#

Use the VISOR Python API to quickly create and run a minimal SAF-based solution.

  1. Run the following code to create a VISOR instance and load a VTM file:

    from ansys.visor.viewer import Visor
    
    an_input_file = "your_file.vtm"
    visualizer = Visor(
        url="http://localhost:8888"
    )  # optional; default is "http://localhost:8081"
    visualizer.start(input=an_input_file)
    
  2. Open the VISOR standalone app at the specified URL. This example uses http://localhost:8888.

The following image shows a loaded VTM file. VISOR supports both VTM and VTK files.

VISOR standalone app with many blocks in the loaded file