CAM3MFExportOptions.error Property

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

Description

Gets the last encountered error message. When the CAMExportManager's executeWithExportFuture() method is used, this method only returns errors encoutered when setting up the export. Errors thrown afterwards can be retrieved via the CAMExportFuture object. When the CAMExportManager's execute() method is used, any error can be retrieved using this property.

Syntax

"cAM3MFExportOptions_var" is a variable referencing a CAM3MFExportOptions object.

# Get the value of the property.
propertyValue = cAM3MFExportOptions_var.error
"cAM3MFExportOptions_var" is a variable referencing a CAM3MFExportOptions object.
#include <Cam/CAM/CAM3MFExportOptions.h>

// Get the value of the property.
string propertyValue = cAM3MFExportOptions_var->error();

Property Value

This is a read only property whose value is a string.

Version

Introduced in version September 2023