ExternallyTaggedGeometryValidation.IsValidGeometry
Description:
Validates the input geometry to be stored in an externally tagged geometry object. Valid types of geometry are: Solid, Mesh, GeometryInstance, Point and Curve.
Validates the input geometry to be stored in an externally tagged geometry object. Valid types of geometry are: Solid, Mesh, GeometryInstance, Point and Curve.
[ObsoleteAttribute("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.")]
public static bool IsValidGeometry(
GeometryObject geometry
)
-
geometryGeometry object to be validated.
Return Value
bool
True if the supplied geometry object passes the validation criteria.