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

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 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