CenteredAssemblyConstraintDefinition.setSecondaryBiasPoints Method

Parent Object: CenteredAssemblyConstraintDefinition

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

Description

Optionally defines secondary bias points that influence the initial positioning of the occurrences when a centered constraint is created. Secondary points apply only when the corresponding occurrence geometry is an AssemblyConstraintCenteredPlaneDefinition (two-plane input). Pass null for unused secondary slots. The bias points are only used for the initial placement and do not affect the constraint after it has been created.

Syntax

"centeredAssemblyConstraintDefinition_var" is a variable referencing a CenteredAssemblyConstraintDefinition object.

# Uses no optional arguments.
returnValue = centeredAssemblyConstraintDefinition_var.setSecondaryBiasPoints()

# Uses optional arguments.
returnValue = centeredAssemblyConstraintDefinition_var.setSecondaryBiasPoints(componentOneSecondary, componentTwoSecondary)
"centeredAssemblyConstraintDefinition_var" is a variable referencing a CenteredAssemblyConstraintDefinition object.

#include <Fusion/Components/CenteredAssemblyConstraintDefinition.h>

// Uses no optional arguments.
returnValue = centeredAssemblyConstraintDefinition_var->setSecondaryBiasPoints();

// Uses optional arguments.
returnValue = centeredAssemblyConstraintDefinition_var->setSecondaryBiasPoints(componentOneSecondary, componentTwoSecondary);
"centeredAssemblyConstraintDefinition_var" is a variable referencing a CenteredAssemblyConstraintDefinition object.

// Uses no optional arguments.
returnValue = centeredAssemblyConstraintDefinition_var.setSecondaryBiasPoints();

// Uses Optional arguments.
returnValue = centeredAssemblyConstraintDefinition_var.setSecondaryBiasPoints(componentOneSecondary, componentTwoSecondary);

Return Value

Type Description
boolean Returns true if the secondary bias points were successfully assigned.

Parameters

Name Type Description
componentOneSecondary Point3D The bias point on the secondary geometry of the first occurrence when using two planes, or null.

This is an optional argument whose default value is null.
componentTwoSecondary Point3D The bias point on the secondary geometry of the second occurrence when using two planes, or null.

This is an optional argument whose default value is null.

Version

Introduced in version November 2026