SMTExportOptions.version Property

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

Description

Gets and set the version of the SMT format to write to. The default is to use the current version of the Autodesk Shape Manager kernel that Fusion is using. Specifying an invalid version will result in an assert.

Valid versions are 218 up to the current version, which is what this property returns by default when a new SMTExportOptions object is created.

Syntax

"sMTExportOptions_var" is a variable referencing a SMTExportOptions object.

# Get the value of the property.
propertyValue = sMTExportOptions_var.version

# Set the value of the property.
sMTExportOptions_var.version = propertyValue
"sMTExportOptions_var" is a variable referencing a SMTExportOptions object.
#include <Fusion/Fusion/SMTExportOptions.h>

// Get the value of the property.
integer propertyValue = sMTExportOptions_var->version();

// Set the value of the property, where value_var is an integer.
bool returnValue = sMTExportOptions_var->version(value_var);

Property Value

This is a read/write property whose value is an integer.

Version

Introduced in version April 2019