ExtendFeature.createForAssemblyContext Method

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

"extendFeature_var" is a variable referencing an ExtendFeature object.
returnValue = extendFeature_var.createForAssemblyContext(occurrence)
"extendFeature_var" is a variable referencing an ExtendFeature object.

#include <Fusion/Features/ExtendFeature.h>

returnValue = extendFeature_var->createForAssemblyContext(occurrence);

Return Value

Type Description
ExtendFeature 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