WebFeatures.add Method

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

Description

Creates a new web feature.

Syntax

"webFeatures_var" is a variable referencing a WebFeatures object.

returnValue = webFeatures_var.add(input)
"webFeatures_var" is a variable referencing a WebFeatures object.

#include <Fusion/Features/WebFeatures.h>

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

returnValue = webFeatures_var.add(input);

Return Value

Type Description
WebFeature Returns the newly created WebFeature object or null if the creation failed.

Parameters

Name Type Description
input WebFeatureInput A WebFeatureInput object that defines the desired web feature. Use the createInput method to create a new WebFeatureInput object and then use methods on the WebFeatureInput object to define the web feature.

Version

Introduced in version October 2026