can_import property

can_import property

Gets whether Aspose.3D supports import scene from current file format.

Example

The following code shows how to check if importing from specified format is supported.

from aspose.threed import FileFormat

outputFormat = ".glb"
format = FileFormat.get_format_by_extension(outputFormat)
if format.can_import:
    print(f"Can import from {outputFormat}")

Definition:

@property
def can_import(self):
    ...

See Also