ConfigurationTables.add Method

Parent Object: ConfigurationTables

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/ConfigurationTables.h>

Description

Creates a configuration table on the sheet from the supplied input object. This is the API equivalent of running the Configuration Table command on the sheet. Multiple configuration tables may exist on the same sheet when the drawing references a configured design.

Syntax

"configurationTables_var" is a variable referencing a ConfigurationTables object.

returnValue = configurationTables_var.add(input)
"configurationTables_var" is a variable referencing a ConfigurationTables object.

#include <Drawing/Sheet/ConfigurationTables.h>

returnValue = configurationTables_var->add(input);
"configurationTables_var" is a variable referencing a ConfigurationTables object.

returnValue = configurationTables_var.add(input);

Return Value

Type Description
ConfigurationTable Returns the newly created ConfigurationTable object, or null if the table could not be created. Creation fails when the drawing does not reference a configured design, meaning a design that has configurations defined.

Parameters

Name Type Description
input ConfigurationTableInput A ConfigurationTableInput object created using the createInput method.

Version

Introduced in version October 2026