OffsetFeature.createForAssemblyContext Method

Parent Object: OffsetFeature
Defined in namespace "adsk::fusion" and the header file is <Fusion/Features/OffsetFeature.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

"offsetFeature_var" is a variable referencing an OffsetFeature object.
returnValue = offsetFeature_var.createForAssemblyContext(occurrence)
"offsetFeature_var" is a variable referencing an OffsetFeature object.

#include <Fusion/Features/OffsetFeature.h>

returnValue = offsetFeature_var->createForAssemblyContext(occurrence);

Return Value

Type Description
OffsetFeature Returns the proxy object or null if this is not the NativeObject.

Parameters

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

Version

Introduced in version June 2015