Updates the geometry of the FreeForm element to the given shape preserving References to the existing geometry where possible (see remarks for rules).
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2015
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- newGeometry
- Type: Autodesk.Revit.DBSolid
The new geometry to set in the FreeForm element.
Remarks
Rules for preserving References:
- First preserve faces as Reference when exclusively coincident with existing faces.
- Then preserve faces as Reference if exclusively parallel to existing faces.
- Then preserve faces as Reference if exclusive at small angle to the existing faces.
- Any other faces are will not be preserved as a Reference.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |