DraftFeature.setMovingPartingLineDraftFeatureType Method

Parent Object: DraftFeature

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


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

Description

Sets this draft to define a parting line type of draft where the parting line moves in and out from the part to create the specified draft angle of the faces connected to the parting line.

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

"draftFeature_var" is a variable referencing a DraftFeature object.

returnValue = draftFeature_var.setMovingPartingLineDraftFeatureType(partingLineCurves, isChained, direction, fixedEdges)
"draftFeature_var" is a variable referencing a DraftFeature object.

#include <Fusion/Features/DraftFeature.h>

returnValue = draftFeature_var->setMovingPartingLineDraftFeatureType(partingLineCurves, isChained, direction, fixedEdges);
"draftFeature_var" is a variable referencing a DraftFeature object.

returnValue = draftFeature_var.setMovingPartingLineDraftFeatureType(partingLineCurves, isChained, direction, fixedEdges);

Return Value

Type Description
boolean Returns true if setting the draft type was successful.

Parameters

Name Type Description
partingLineCurves Base[] An array that contain a combination of sketch curves and BRepEdge objects to define the parting line.
isChained boolean If true, curves that are connected to any of the input parting line curves will also be included in the parting line.
direction MovingPartingLineDirections Specifies how the angle is calculated to determine how the parting line is moved.
fixedEdges BRepEdge[] An array containing the edges that should not deform when the parting line moves. The array can be empty in the case where no fixed edges are used.

Version

Introduced in version September 2026