CustomTable.setCellData Method

Parent Object: CustomTable

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::drawing" and the header file is <Drawing/Sheet/CustomTable.h>

Description

Updates the content of a specific cell in the custom table.

Syntax

"customTable_var" is a variable referencing a CustomTable object.

returnValue = customTable_var.setCellData(rowIndex, coulmnIndex, data)
"customTable_var" is a variable referencing a CustomTable object.

#include <Drawing/Sheet/CustomTable.h>

returnValue = customTable_var->setCellData(rowIndex, coulmnIndex, data);
"customTable_var" is a variable referencing a CustomTable object.

returnValue = customTable_var.setCellData(rowIndex, coulmnIndex, data);

Return Value

Type Description
boolean Returns true if the content is modified successfully, otherwise returns false.

Parameters

Name Type Description
rowIndex integer The zero-based row index of the cell to update.
coulmnIndex integer
data string The string data to set in the specified cell.

Version

Introduced in version July 2026