CAM3MFExportStructure.maximumComponentParentCount Property

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

Description

Specifies the maximum number of parents listed in the name property for the component. If the number used is higher than the number of available parents, all parents are used. Given a body called Body1 whose assembly context's fullpath is "Manufacturing Models 1:1+ManufacturingModel 1:2+Unsaved (1)1:1+Component1:3", the following results are expected for the maximumMeshParentCount value given with "+" being used for the concatination: In this example, the component with id 4 contains component with id 5, which contains component with id 6, which in turn contains component with id 7

 By default, this value is set to 0.

Syntax

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

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

// Get the value of the property.
integer propertyValue = cAM3MFExportStructure_var->maximumComponentParentCount();

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

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

Property Value

This is a read/write property whose value is an integer.

Version

Introduced in version April 2026