Revit 2025 API
Free |
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: 25.0.0.0 (25.0.0.0)
Syntax
public void UpdateSolidGeometry( Solid newGeometry )
Public Sub UpdateSolidGeometry ( newGeometry As Solid )
public: void UpdateSolidGeometry( Solid^ newGeometry )
member UpdateSolidGeometry : newGeometry : Solid -> unit
Parameters
- newGeometry Solid
- The new geometry to set in the FreeForm element.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |

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.
See Also