ConfigurationRows.add Method

Parent Object: ConfigurationRows

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::fusion" and the header file is <Fusion/Configurations/ConfigurationRows.h>

Description

Adds a new row to the table. For the top table, this creates a new configuration. For theme tables, this creates a new theme. The new row is added to the bottom of the table, and the cell values are copied from the row above it. You can also use the ConfigurationRow.copy method to create a new row by copying any existing row.

Syntax

"configurationRows_var" is a variable referencing a ConfigurationRows object.
returnValue = configurationRows_var.add(name)
"configurationRows_var" is a variable referencing a ConfigurationRows object.

#include <Fusion/Configurations/ConfigurationRows.h>

returnValue = configurationRows_var->add(name);

Return Value

Type Description
ConfigurationRow Returns the newly created row.

Parameters

Name Type Description
name string The name of the new row. An empty string can be provided, which will cause Fusion to use a default naming scheme to create a name.

Version

Introduced in version March 2024