DraftFeatureInput.setFixedPartingLineDraftFeatureType Method

Parent Object: DraftFeatureInput

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/DraftFeatureInput.h>

Description

Sets this draft to define a parting line type of draft where the draft line remains fixed at its current position and the faces of the part draft in or out from the parting line.

Syntax

"draftFeatureInput_var" is a variable referencing a DraftFeatureInput object.

returnValue = draftFeatureInput_var.setFixedPartingLineDraftFeatureType(partingLineCurves, isChained)
"draftFeatureInput_var" is a variable referencing a DraftFeatureInput object.

#include <Fusion/Features/DraftFeatureInput.h>

returnValue = draftFeatureInput_var->setFixedPartingLineDraftFeatureType(partingLineCurves, isChained);
"draftFeatureInput_var" is a variable referencing a DraftFeatureInput object.

returnValue = draftFeatureInput_var.setFixedPartingLineDraftFeatureType(partingLineCurves, isChained);

Return Value

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

Parameters

Name Type Description
partingLineCurves Base[] An array that contains 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.

Version

Introduced in version September 2026