TemporaryBRepManager.createBox Method

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

Description

Creates a new temporary solid box BRepBody object.

Syntax

"temporaryBRepManager_var" is a variable referencing a TemporaryBRepManager object.

returnValue = temporaryBRepManager_var.createBox(box)
"temporaryBRepManager_var" is a variable referencing a TemporaryBRepManager object.

#include <Fusion/BRep/TemporaryBRepManager.h>

returnValue = temporaryBRepManager_var->createBox(box);
"temporaryBRepManager_var" is a variable referencing a TemporaryBRepManager object.

returnValue = temporaryBRepManager_var.createBox(box);

Return Value

Type Description
BRepBody Returns the newly created temporary BRepBody object or null in the case of failure.

Parameters

Name Type Description
box OrientedBoundingBox3D The OrientedBoundingBox3D object that defines the position, orientation, and size of the box to crate.

Samples

Name Description
TemporaryBRepManager API Sample

Demonstrates TemporaryBRepManager-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