BRepBody.createForAssemblyContext Method

Parent Object: BRepBody
Defined in namespace "adsk::fusion" and the header file is <Fusion/BRep/BRepBody.h>

Description

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.

This method is only valid if the IsTransient property is false.

Syntax

"bRepBody_var" is a variable referencing a BRepBody object.
returnValue = bRepBody_var.createForAssemblyContext(occurrence)
"bRepBody_var" is a variable referencing a BRepBody object.

#include <Fusion/BRep/BRepBody.h>

returnValue = bRepBody_var->createForAssemblyContext(occurrence);

Return Value

Type Description
BRepBody Returns the new BRepBoy proxy or null if this isn't the NativeObject.

Parameters

Name Type Description
occurrence Occurrence The occurrence that defines the context for the created proxy.

Version

Introduced in version August 2014