CoincidentToSurfaceConstraint.createForAssemblyContext Method

Parent Object: CoincidentToSurfaceConstraint
Defined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/CoincidentToSurfaceConstraint.h>

Description

Creates or returns a proxy for the native object - i.e. a new object that represents this object but adds the assembly context defined by the input occurrence.

Syntax

"coincidentToSurfaceConstraint_var" is a variable referencing a CoincidentToSurfaceConstraint object.
returnValue = coincidentToSurfaceConstraint_var.createForAssemblyContext(occurrence)
"coincidentToSurfaceConstraint_var" is a variable referencing a CoincidentToSurfaceConstraint object.

#include <Fusion/Sketch/CoincidentToSurfaceConstraint.h>

returnValue = coincidentToSurfaceConstraint_var->createForAssemblyContext(occurrence);

Return Value

Type Description
CoincidentToSurfaceConstraint Returns the proxy object or null if this isn't the NativeObject.

Parameters

Name Type Description
occurrence Occurrence The occurrence that defines the context to create the proxy in.

Version

Introduced in version September 2023