CAM3MFExportStructure.isBodyEncapsulatedInComponent Property

Parent Object: CAM3MFExportStructure
Defined in namespace "adsk::cam" and the header file is <Cam/CAM/CAM3MFExportStructure.h>

Description

Flag indicating if each BRepBody or MeshBody should be encapsulated in its own component within the 3MF file. Supports belonging to that body will be included in the same component. By default, this is set to false, meaning that all bodies are exported directly into the parent component alongside their sibling bodies. The additional component is named after the body without any contatenation of parent component names.

Syntax

"cAM3MFExportStructure_var" is a variable referencing a CAM3MFExportStructure object.
# Get the value of the property.
propertyValue = cAM3MFExportStructure_var.isBodyEncapsulatedInComponent

# Set the value of the property.
cAM3MFExportStructure_var.isBodyEncapsulatedInComponent = propertyValue
"cAM3MFExportStructure_var" Is a variable referencing a CAM3MFExportStructure Object.
#include <Cam/CAM/CAM3MFExportStructure.h>

// Get the value of the property.
boolean propertyValue = cAM3MFExportStructure_var->isBodyEncapsulatedInComponent();

// Set the value of the property, where value_var is a boolean.
bool returnValue = cAM3MFExportStructure_var->isBodyEncapsulatedInComponent(value_var);
"cAM3MFExportStructure_var" Is a variable referencing a CAM3MFExportStructure Object.
// Get the value of the property.
propertyValue = cAM3MFExportStructure_var.isBodyEncapsulatedInComponent;

// Set the value of the property.
cAM3MFExportStructure_var.isBodyEncapsulatedInComponent = propertyValue;

Property Value

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

Version

Introduced in version April 2026