USDZ files are getting popular due to their usability in augmented reality scenarios. However, a limited number of applications support viewing or manipulating such files. So you might need to convert a USDZ file to PDF format in certain situations because of the cross-platform support for the PDF files. In accordance with such scenarios, this article covers how to convert a USDZ file to a PDF format file programmatically in C#.
USDZ to PDF File Converter – C# API Installation
Aspose.3D for .NET API can be used to create three-dimensional scenes and files like STL, FBX, GLB, etc. You can configure the API while adding the references by downloading its DLL files from the Downloads page or running the following NuGet installation command in Microsoft Visual Studio IDE:
PM> Install-Package Aspose.3D
Convert USDZ to PDF File in C#
You can convert a USDZ file to a PDF document with the following steps:
- Load the input USDZ file using the Scene class object.
- Create an object of PdfSaveOptions class.
- Convert the USDZ file to a PDF document.
The following code sample demonstrates how to convert a USDZ file to PDF format programmatically in C#:
Get Free Temporary License
You can request a free temporary license to evaluate the API without any evaluation restrictions.
Online Demo
Please try the USDZ to PDF Converter web app developed using the above API.
Conclusion
In this article, you have learned how to convert a USDZ file to PDF format programmatically in C#. This conversion helps you view or share files over a number of platforms and system environments without needing any specific three-dimensional modeling application. Moreover, you may visit the documentation space to learn about many other features supported by the API. In case you need any assistance or information, please reach out to us at the forum.