OBJExportOptions.isOneFilePerBody Property

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

Description

If the input is an Occurrence or the root Component, this specifies if a single file should be created containing all of the bodies within that occurrence or component or if multiple files should be created; one for each body. If multiple files are created, the body name is appended to the filename. The default is false.

Syntax

"oBJExportOptions_var" is a variable referencing an OBJExportOptions object.

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

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

// Get the value of the property.
boolean propertyValue = oBJExportOptions_var->isOneFilePerBody();

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

Property Value

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

Version

Introduced in version October 2022