RibFeature.createForAssemblyContext Method

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

"ribFeature_var" is a variable referencing a RibFeature object.

returnValue = ribFeature_var.createForAssemblyContext(occurrence)
"ribFeature_var" is a variable referencing a RibFeature object.

#include <Fusion/Features/RibFeature.h>

returnValue = ribFeature_var->createForAssemblyContext(occurrence);
"ribFeature_var" is a variable referencing a RibFeature object.

returnValue = ribFeature_var.createForAssemblyContext(occurrence);

Return Value

Type Description
RibFeature 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 October 2026