STLExportOptions.isBinaryFormat Property

Parent Object: STLExportOptions
Defined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/STLExportOptions.h>

Description

Indicates if the STL file is to be an ASCII or binary STL format. The default is true.

Syntax

"sTLExportOptions_var" is a variable referencing a STLExportOptions object.

# Get the value of the property.
propertyValue = sTLExportOptions_var.isBinaryFormat

# Set the value of the property.
sTLExportOptions_var.isBinaryFormat = propertyValue
"sTLExportOptions_var" is a variable referencing a STLExportOptions object.
#include <Fusion/Fusion/STLExportOptions.h>

// Get the value of the property.
boolean propertyValue = sTLExportOptions_var->isBinaryFormat();

// Set the value of the property, where value_var is a boolean.
bool returnValue = sTLExportOptions_var->isBinaryFormat(value_var);

Property Value

This is a read/write property whose value is a boolean.

Samples

Name Description
Export to other formats API Sample Demonstrates exporting the active design to IGES, STEP, SAT, SMT, F3D and STL formats. To run this sample, have a design open and run the script. It will write out the translated files to a temp directory, which will it show in a message box.

Version

Introduced in version January 2015