Detect format of 3D file
Contents
[
Hide
]
Using Aspose.3D for Python via .NET API, developers may detect the format of supported 3D files before opening it because the file extension does not guarantee that the file content is appropriate.
Detect Format Programming Sample
The following sample code illustrates how to detect a file format (using the file path or stream) and check its extension.