OBJExportOptions.aspectRatio Property

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

Description

Gets and sets the minimum aspect ratio for that triangles that are generated for the mesh. 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.aspectRatio

# Set the value of the property.
oBJExportOptions_var.aspectRatio = 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->aspectRatio();

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

Property Value

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

Version

Introduced in version October 2022