OBJExportOptions.surfaceDeviation Property

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

Description

Gets and sets the current surface deviation, or the distance the mesh can deviate from the actual surface. This is defined in centimeter. Setting this property will automatically set the meshRefinement to MeshRefinementCustom. The default is the value associated with medium mesh refinement.

Syntax

"oBJExportOptions_var" is a variable referencing an OBJExportOptions object.

# Get the value of the property.
propertyValue = oBJExportOptions_var.surfaceDeviation

# Set the value of the property.
oBJExportOptions_var.surfaceDeviation = propertyValue
"oBJExportOptions_var" is a variable referencing an OBJExportOptions object.
#include <Fusion/Fusion/OBJExportOptions.h>

// Get the value of the property.
double propertyValue = oBJExportOptions_var->surfaceDeviation();

// Set the value of the property, where value_var is a double.
bool returnValue = oBJExportOptions_var->surfaceDeviation(value_var);

Property Value

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

Version

Introduced in version October 2022