ConfigurationReplaceDesigns.add Method

Parent Object: ConfigurationReplaceDesigns
Defined in namespace "adsk::fusion" and the header file is <Fusion/Configurations/ConfigurationReplaceDesigns.h>

Description

Adds a new ConfigurationReplaceDesign object to the column. The ConfigurationReplaceDesign objects associated with the column can be used in the cells in the column.

Syntax

"configurationReplaceDesigns_var" is a variable referencing a ConfigurationReplaceDesigns object.
returnValue = configurationReplaceDesigns_var.add(name, dataFile)
"configurationReplaceDesigns_var" is a variable referencing a ConfigurationReplaceDesigns object.

#include <Fusion/Configurations/ConfigurationReplaceDesigns.h>

returnValue = configurationReplaceDesigns_var->add(name, dataFile);

Return Value

Type Description
ConfigurationReplaceDesign Returns the newly created ConfigurationReplaceDesign.

Parameters

Name Type Description
name string The name of the new ConfigurationReplaceDesign object. The name must be unique with respect to the other ConfigurationReplaceDesign objects defined for this column. An empty string can be provided, which will cause Fusion to use a default naming scheme to create a name.
dataFile DataFile A DataFile object that defines which Design to use. This must be a DataFile object that represents a standard design, not a configured design.

Version

Introduced in version September 2025