Revit 2026 API
Externally |
Makes sure that the input geometry object is a Solid.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static bool IsSolid( GeometryObject geometry )
Public Shared Function IsSolid ( geometry As GeometryObject ) As Boolean
public: static bool IsSolid( GeometryObject^ geometry )
static member IsSolid : geometry : GeometryObject -> bool
Parameters
- geometry GeometryObject
- Geometry object to be validated.
Return Value
BooleanTrue if the supplied geometry object is a Solid.
This validation is different than negating IsNonSolid().
See Also