OffsetConstraint.createForAssemblyContext Method
Parent Object:
OffsetConstraintDefined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/OffsetConstraint.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
"offsetConstraint_var" is a variable referencing an OffsetConstraint object.returnValue = offsetConstraint_var.createForAssemblyContext(occurrence)
|
"offsetConstraint_var" is a variable referencing an OffsetConstraint object.
#include <Fusion/Sketch/OffsetConstraint.h>
returnValue = offsetConstraint_var->createForAssemblyContext(occurrence);
|
Return Value
OffsetConstraint |
Returns the proxy object or null if this isn't the NativeObject. |
Parameters
occurrence |
Occurrence |
The occurrence that defines the context to create the proxy in. |
Version
Introduced in version May 2016