PatchFeature.createForAssemblyContext Method
Parent Object:
PatchFeatureDefined in namespace "adsk::fusion" and the header file is <Fusion/Features/PatchFeature.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
"patchFeature_var" is a variable referencing a PatchFeature object.returnValue = patchFeature_var.createForAssemblyContext(occurrence)
|
"patchFeature_var" is a variable referencing a PatchFeature object.
#include <Fusion/Features/PatchFeature.h>
returnValue = patchFeature_var->createForAssemblyContext(occurrence);
|
Return Value
PatchFeature |
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. |
Version
Introduced in version July 2016