Skip to main content
Ctrl+K
Python USD Viewer - Home Python USD Viewer - Home
  • Home
  • Getting started
  • User guide
  • API reference
  • Examples
    • Release notes
Ctrl+K
  • GitHub
  • Support
  • Download documentation in PDF
  • Home
  • Getting started
  • User guide
  • API reference
  • Examples
  • Release notes
Ctrl+K
  • GitHub
  • Support
  • Download documentation in PDF

Section Navigation

  • Plain usage of the USD Viewer
  • Viewing a mixed USD file with VTK asset
  • Converting VTK to USD and back
  • PyAnsys
  • Examples
  • Plain usage of the USD Viewer

Note

Go to the end to download the full example code.

Plain usage of the USD Viewer#

This example shows the plain usage of the USD Viewer.

from ansys.tools.usdviewer.viewer import USDViewer

# Load USD file
path = r"display_color.usda"
viewer = USDViewer(title="USD Viewer", size=(800, 800))
viewer.load_usd(path)
viewer.show()

Download Jupyter notebook: 00-view-usd.ipynb

Download Python source code: 00-view-usd.py

Download zipped: 00-view-usd.zip

Edit on GitHub
  • Show Source

© Copyright (c) 2026 ANSYS, Inc. All rights reserved.

Created using Sphinx 9.0.4.

Built with the Ansys Sphinx Theme 1.7.2.
Last updated on