ConfigurationCustomThemeTables.add Method

Parent Object: ConfigurationCustomThemeTables

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

Description

Creates a new custom theme table using the specified columns.

Syntax

"configurationCustomThemeTables_var" is a variable referencing a ConfigurationCustomThemeTables object.
returnValue = configurationCustomThemeTables_var.add(columns)
"configurationCustomThemeTables_var" is a variable referencing a ConfigurationCustomThemeTables object.

#include <Fusion/Configurations/ConfigurationCustomThemeTables.h>

returnValue = configurationCustomThemeTables_var->add(columns);

Return Value

Type Description
ConfigurationCustomThemeTable Returns the newly created ConfigurationCustomThemeTable or null if the creation fails.

Parameters

Name Type Description
columns ConfigurationColumn[] An array of ConfigurationColumn objects used to create a new custom theme table. The columns must exist within the top configuration table, and they cannot include any ConfigurationThemeColumn, ConfigurationPropertyColumn, ConfigurationAppearanceColumn, ConfigurationMaterialColumn, ConfigurationPlasticRuleColumn, or ConfigurationSheetMetalRuleColumn objects. The specified columns will be removed from the main table, and a new ConfigurationThemeColumn will be created in the top table to reference the newly created custom theme table.

Version

Introduced in version March 2024