merge method

merge

Detach everything under the node and attach them to current node.

def merge(self, node):
    ...
ParameterTypeDescription
nodeNode

Example

The following code shows how to merge two 3D files into one file

from aspose.threed import Scene

scene1 = Scene.from_file("scene1.fbx")
scene2 = Scene.from_file("scene2.fbx")
scene1.root_node.merge(scene2.root_node)
scene1.save("merged.fbx")

See Also