WebFeature.setDistanceExtent Method

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

Description

Sets the extent type of the web so that it extends a specified distance. This sets the extentType property to DistanceRibWebExtentType.

To use this method, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True)

Syntax

"webFeature_var" is a variable referencing a WebFeature object.

returnValue = webFeature_var.setDistanceExtent(depth)
"webFeature_var" is a variable referencing a WebFeature object.

#include <Fusion/Features/WebFeature.h>

returnValue = webFeature_var->setDistanceExtent(depth);
"webFeature_var" is a variable referencing a WebFeature object.

returnValue = webFeature_var.setDistanceExtent(depth);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
depth ValueInput A ValueInput object that defines the depth the web extends.

Version

Introduced in version October 2026