BaseFeature.createForAssemblyContext Method
Parent Object:
BaseFeatureDefined in namespace "adsk::fusion" and the header file is <Fusion/Features/BaseFeature.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
"baseFeature_var" is a variable referencing a BaseFeature object.returnValue = baseFeature_var.createForAssemblyContext(occurrence)
|
"baseFeature_var" is a variable referencing a BaseFeature object.
#include <Fusion/Features/BaseFeature.h>
returnValue = baseFeature_var->createForAssemblyContext(occurrence);
|
Return Value
BaseFeature |
Returns the proxy object or null if this is not the NativeObject. |
Parameters
occurrence |
Occurrence |
The occurrence that defines the context to create the proxy in. |
Version
Introduced in version January 2021