VariableRadiusFilletEdgeSet.deleteMidPosition Method

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

Description

Deletes the specified mid position from the variable radius fillet.

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.deleteMidPosition(positionIndex)
"variableRadiusFilletEdgeSet_var" is a variable referencing a VariableRadiusFilletEdgeSet object.

#include <Fusion/Features/VariableRadiusFilletEdgeSet.h>

returnValue = variableRadiusFilletEdgeSet_var->deleteMidPosition(positionIndex);
"variableRadiusFilletEdgeSet_var" is a variable referencing a VariableRadiusFilletEdgeSet object.

returnValue = variableRadiusFilletEdgeSet_var.deleteMidPosition(positionIndex);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
positionIndex uinteger The index of the mid position to delete. The points are in the order they appear along the edge where the first point has an index of 0. The number of mid positions and their locations can be obtained by getting the list of mid positions using the midPositions property.

Samples

Name Description
Fillet Feature Edit API Sample

Demonstrates editing a fillet feature.
To successfully run this sample you can use this file or create a new model with the described fillet feature.

  1. Create a new model and add a block feature.
  2. Create a single fillet feature that defines three different fillets. The fillets need to be created in a way where they don't interact with one another. The easiest way is to create the fillets only on the vertical edges of the box.
    1. Create a constant radius fillet with a radius that is about 1/4 the size of the box.
    2. Create a chord length fillet whose radius is also about 1/4 the size of the box.
    3. Create a variable radius fillet with one intermediate radius and the radii are about 1/4 the size of the box and less.
Running the sample script will modify various settings of each fillet and change the edge each fillet is applied to.

Version

Introduced in version November 2015