BRepWire.createForAssemblyContext Method

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

Syntax

"bRepWire_var" is a variable referencing a BRepWire object.

returnValue = bRepWire_var.createForAssemblyContext(occurrence)
"bRepWire_var" is a variable referencing a BRepWire object.

#include <Fusion/BRep/BRepWire.h>

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

returnValue = bRepWire_var.createForAssemblyContext(occurrence);

Return Value

Type Description
BRepWire Returns the new BRepWire 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.

Samples

Name Description
BrepWire Sample

Demonstrates B-rep wire-related API functions.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Version

Introduced in version December 2017