CAM3MFExportStructure.maximumComponentParentCount 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

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

Property Value

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

Version

Introduced in version April 2026