BRepFace.convert Method

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

Description

Creates a new body where this face and its edges are converted to different types of geometry based on the input options.

The tempId on the faces, edges, and vertices on the new body will match with the corresponding tempId on the original body. In cases where the face is split as a result of the conversion there can be more than one face or edge in the new body that matches to a single face or edge in the original body.

Syntax

"bRepFace_var" is a variable referencing a BRepFace object.
returnValue = bRepFace_var.convert(options)
"bRepFace_var" is a variable referencing a BRepFace object.

#include <Fusion/BRep/BRepFace.h>

returnValue = bRepFace_var->convert(options);

Return Value

Type Description
BRepBody Returns the new converted body or null in the case of failure.

Parameters

Name Type Description
options BRepConvertOptions Input options that define how the conversion should be done. These are bitwise options so they can be combined.

Version

Introduced in version August 2016