CAM3MFExportStructure.isBodyEncapsulatedInComponent Property

Parent Object: CAM3MFExportStructure

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


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);

Property Value

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

Version

Introduced in version April 2026