CAMAdditiveBuildExportOptions.error Property

Parent Object: CAMAdditiveBuildExportOptions
Defined in namespace "adsk::cam" and the header file is <Cam/CAM/CAMAdditiveBuildExportOptions.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

"cAMAdditiveBuildExportOptions_var" is a variable referencing a CAMAdditiveBuildExportOptions object.

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

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

Property Value

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

Version

Introduced in version October 2023