AngleAssemblyConstraintDefinition.angleReferenceEntity Property

Parent Object: AngleAssemblyConstraintDefinition

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

Description

This property is used to specify an optional entity that defines an axis that controls how the angle is measured. In some cases for an angle constraint, there can be more than one solution. When the constraint is solved, entityOne and entityTwo each define a vector. When the angle reference entity is provided, the vectors need to follow the "right hand rule" with respect to the reference entity.

The reference entity can be a planar, linear, circular, or elliptical BRepEdge, SketchLine, SketchArc, SketchEllipse, or Profile object.

The reference entity must be selected from a valid component occurrence. In a direct modeling design, it must be on the same occurrence as entityTwo. In a parametric design, it cannot be on the same occurrence as entityOne; it is typically selected from entityTwo or another component.

This property can return null and be set to null to indicate there is no reference entity. Setting this property to a new value resets isFlipped to false.

Syntax

"angleAssemblyConstraintDefinition_var" is a variable referencing an AngleAssemblyConstraintDefinition object.
# Get the value of the property.
propertyValue = angleAssemblyConstraintDefinition_var.angleReferenceEntity

# Set the value of the property.
angleAssemblyConstraintDefinition_var.angleReferenceEntity = propertyValue
"angleAssemblyConstraintDefinition_var" Is a variable referencing an AngleAssemblyConstraintDefinition Object.
#include <Fusion/Components/AngleAssemblyConstraintDefinition.h>

// Get the value of the property.
Base propertyValue = angleAssemblyConstraintDefinition_var->angleReferenceEntity();

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

// Set the value of the property.
angleAssemblyConstraintDefinition_var.angleReferenceEntity = propertyValue;

Property Value

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

Version

Introduced in version November 2026