BossFeature.createForAssemblyContext Method

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

"bossFeature_var" is a variable referencing a BossFeature object.
returnValue = bossFeature_var.createForAssemblyContext(occurrence)
"bossFeature_var" is a variable referencing a BossFeature object.

#include <Fusion/Plastic/BossFeature.h>

returnValue = bossFeature_var->createForAssemblyContext(occurrence);

Return Value

Type Description
BossFeature 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 October 2022