M

IsValidGeometry

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2024).
Not present in: 2020, 2021, 2025, 2025.3, 2026, 2027
2024 current
ExternallyTaggedGeometryValidation.IsValidGeometry(GeometryObject)
Became obsolete in 2024: This method is deprecated in Revit 2024 and may be removed in a later version of Revit. We suggest using validation methods provided by the Element which uses this geometry where available. For example, DirectShape.IsValidShape for a DirectShape should be used for DirectShapes.
geometry GeometryObject Geometry object to be validated.
→ returns Boolean True if the supplied geometry object passes the validation criteria.
ExternallyTaggedGeometryValidation.IsValidGeometry(GeometryObject)
Became obsolete in 2024: This method is deprecated in Revit 2024 and may be removed in a later version of Revit. We suggest using validation methods provided by the Element which uses this geometry where available. For example, DirectShape.IsValidShape for a DirectShape should be used for DirectShapes.
geometry GeometryObject Geometry object to be validated.
→ returns Boolean True if the supplied geometry object passes the validation criteria.