.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "examples/00-view-usd.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_examples_00-view-usd.py: .. _ref_plain_usd_view: ============================= Plain usage of the USD Viewer ============================= This example shows the plain usage of the USD Viewer. .. GENERATED FROM PYTHON SOURCE LINES 31-38 .. code-block:: Python 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() .. _sphx_glr_download_examples_00-view-usd.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: 00-view-usd.ipynb <00-view-usd.ipynb>` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: 00-view-usd.py <00-view-usd.py>` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: 00-view-usd.zip <00-view-usd.zip>`