FormFeature.updateBRep Method

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

Description

Regenerates the B-Rep bodies of this form feature from the current state of its T-Spline bodies. Call this after editing the form feature's T-Spline entities through the API (for example, creasing an edge or moving a face) to apply those edits to the resulting B-Rep bodies. Interactively this happens automatically when finishing the form edit; when editing through the API outside of edit mode you can batch a set of edits and then call this once to update the bodies.

This is only valid when the form feature is not currently being edited (see startEdit/finishEdit); while in edit mode the bodies are regenerated by finishEdit and calling this does nothing.

Syntax

"formFeature_var" is a variable referencing a FormFeature object.

returnValue = formFeature_var.updateBRep()
"formFeature_var" is a variable referencing a FormFeature object.

#include <Fusion/Features/FormFeature.h>

returnValue = formFeature_var->updateBRep();
"formFeature_var" is a variable referencing a FormFeature object.

returnValue = formFeature_var.updateBRep();

Return Value

Type Description
boolean Returns true if successful.

Version

Introduced in version October 2026