RevolveFeature.setOneSideToExtent Method

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

Description

Changes the extent of the revolve to be from the sketch plane to the specified "to" face.

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

"revolveFeature_var" is a variable referencing a RevolveFeature object.
# Uses no optional arguments.
returnValue = revolveFeature_var.setOneSideToExtent(toEntity)

# Uses optional arguments.
returnValue = revolveFeature_var.setOneSideToExtent(toEntity, directionHint)
"revolveFeature_var" is a variable referencing a RevolveFeature object.

#include <Fusion/Features/RevolveFeature.h>

// Uses no optional arguments.
returnValue = revolveFeature_var->setOneSideToExtent(toEntity);

// Uses optional arguments.
returnValue = revolveFeature_var->setOneSideToExtent(toEntity, directionHint);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
toEntity Base The entity that defines the "to" extent. The valid types of entities can vary depending on the type of feature this is being used with. For a revolve it can be a BRepBody, BRepFace, BRepVertex, ConstructionPlane, or ConstructionPoint.
directionHint Vector3D Specifies the direction of the revolve.

This is an optional argument whose default value is null.

Version

Introduced in version August 2014