VariableRadiusFilletEdgeSet.addMidPosition Method

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

Description

Creates a new mid position radius on the variable radius edge set.

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

"variableRadiusFilletEdgeSet_var" is a variable referencing a VariableRadiusFilletEdgeSet object.
returnValue = variableRadiusFilletEdgeSet_var.addMidPosition(position, radius)
"variableRadiusFilletEdgeSet_var" is a variable referencing a VariableRadiusFilletEdgeSet object.

#include <Fusion/Features/VariableRadiusFilletEdgeSet.h>

returnValue = variableRadiusFilletEdgeSet_var->addMidPosition(position, radius);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
position ValueInput The position where the new radius is to be created. This is a value between 0 and 1 where 0 is at the start of the edge and 1 is at the end. If the ValueInput uses a real then it is interpreted as a unitless value. If it is a string then it must resolve to a unitless value.
radius ValueInput A ValueInput object that defines the radius at the defined position. If the ValueInput uses a real then it is interpreted as centimeters. If it is a string then the units can be defined as part of the string (i.e. "2 in"). If no units are specified it will be interpreted using the current default units for length.

Samples

Name Description
Fillet Feature Edit API Sample

Demonstrates editing a fillet feature.
To successfully run this sample you can use this Version Introduced in version November 2015