from_file method

from_file

Opens the scene from given path

def from_file(self, file_name):
    ...
ParameterTypeDescription
file_namestrFile name.

Example

The following code shows how to create a scene from a file

from aspose.threed import Scene

scene = Scene.from_file("input.fbx")

See Also