Vizard 8 » Command Index » Vizard objects » node3d » <node3d>.save
8.1

<node3d>.save

Save the node to a file

<node3d>.save(  
filename  
)  
filename
Specifies the file name to save the node to.

Remarks

This command will save the node to the specified filename. The extension of the specified filename is used to determine which model format to save the node to. Depending on the format, not all features will be exported properly.

The following native Vizard formats support the export of most features:


The following formats offer limited export functionality:

Return Value

True/False

Example

# Load a model
model = viz.addChild('mini.osgx')

# Save to IVE format
model.save('mini.ive')