RuledSurfaceFeature.createForAssemblyContext Method

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

"ruledSurfaceFeature_var" is a variable referencing a RuledSurfaceFeature object.
returnValue = ruledSurfaceFeature_var.createForAssemblyContext(occurrence)
"ruledSurfaceFeature_var" is a variable referencing a RuledSurfaceFeature object.

#include <Fusion/Features/RuledSurfaceFeature.h>

returnValue = ruledSurfaceFeature_var->createForAssemblyContext(occurrence);

Return Value

Type Description
RuledSurfaceFeature 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 September 2020