RVTDocs.com

SpatialElementGeometryCalculator.CanCalculateGeometry

Method
Description:
This indicates whether the input spatial element is a valid one.
Syntax
public static bool CanCalculateGeometry(
	SpatialElement spatialElement
)
Parameters
Parameter Type Description
spatialElement SpatialElement The spatial element to be checked if its geometry can be calculated.
Return Value
Type Description
Boolean It will return false if the room/space is not enclosed in 2d or has no location, or the height is too small.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null