CenteredAssemblyConstraintDefinition.componentTwoGeometry Property

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

Gets and sets the geometry input for the second occurrence. This can be an AssemblyConstraintCenteredPlaneDefinition object, or a single planar BRepFace, ConstructionPlane, BRepEdge, BRepVertex, SketchProfile, SketchPoint, or any SketchCurve object except for a spline. The constraint behavior depends on the geometry type. When querying an existing constraint, this property returns the same type of object that was used to define the constraint.

If the isTemporary property is false, you need to position the timeline marker immediately before the parent assembly constraint set before setting this property. This can be accomplished using the following code: parentSet.timelineObject.rollTo(True).

Syntax

"centeredAssemblyConstraintDefinition_var" is a variable referencing a CenteredAssemblyConstraintDefinition object.
# Get the value of the property.
propertyValue = centeredAssemblyConstraintDefinition_var.componentTwoGeometry

# Set the value of the property.
centeredAssemblyConstraintDefinition_var.componentTwoGeometry = propertyValue
"centeredAssemblyConstraintDefinition_var" Is a variable referencing a CenteredAssemblyConstraintDefinition Object.
#include <Fusion/Components/CenteredAssemblyConstraintDefinition.h>

// Get the value of the property.
Base propertyValue = centeredAssemblyConstraintDefinition_var->componentTwoGeometry();

// Set the value of the property, where value_var is a Base.
bool returnValue = centeredAssemblyConstraintDefinition_var->componentTwoGeometry(value_var);
"centeredAssemblyConstraintDefinition_var" Is a variable referencing a CenteredAssemblyConstraintDefinition Object.
// Get the value of the property.
propertyValue = centeredAssemblyConstraintDefinition_var.componentTwoGeometry;

// Set the value of the property.
centeredAssemblyConstraintDefinition_var.componentTwoGeometry = propertyValue;

Property Value

This is a read/write property whose value is a Base.

Version

Introduced in version November 2026