This 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 first 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).
// Get the value of the property. Base propertyValue = centeredAssemblyConstraintDefinition_var->componentOneGeometry();
// Set the value of the property, where value_var is a Base. bool returnValue = centeredAssemblyConstraintDefinition_var->componentOneGeometry(value_var);