AssemblyConstraintCenteredPlaneDefinition.create Method

Parent Object: AssemblyConstraintCenteredPlaneDefinition

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/Components/AssemblyConstraintCenteredPlaneDefinition.h>

Description

Creates a new AssemblyConstraintCenteredPlaneDefinition object. This can be used as input when creating centered assembly constraints to define two planar entities whose midplane is used.

Syntax

This is a static method.
returnValue = adsk.fusion.AssemblyConstraintCenteredPlaneDefinition.create(planeOne, planeTwo)
This is a static method.
#include <Fusion/Components/AssemblyConstraintCenteredPlaneDefinition.h>

returnValue = adsk::fusion::AssemblyConstraintCenteredPlaneDefinition::create(planeOne, planeTwo);
This is a static method.
returnValue = adsk.fusion.AssemblyConstraintCenteredPlaneDefinition.create(planeOne, planeTwo);

Return Value

Type Description
AssemblyConstraintCenteredPlaneDefinition Returns the created AssemblyConstraintCenteredPlaneDefinition or null if the creation failed.

Parameters

Name Type Description
planeOne Base The first plane that will be used to calculate the centered plane. This can be a planar BRepFace, a ConstructionPlane, or a sketch profile (parametric designs only).
planeTwo Base The second plane that will be used to calculate the centered plane. This can be a planar BRepFace, a ConstructionPlane, or a sketch profile (parametric designs only). It must be in the same component as the first plane.

Version

Introduced in version November 2026