RVTDocs.com

DirectShapeType.IsValidShape(IList<GeometryObject>)

Method
Description:
Validates shape to be stored in a DirectShapeType.
Remarks:
This function calls IsValidShape(GeometryObject) to validate each object in the list.
Syntax
Parameters
Parameter Type Description
shape IList Shape to be validated represented as a collection of GeometryObjects. The supported types of GeometryObjects are: Solid, Mesh, GeometryInstance, Point, Curve and PolyLine.
Return Value
Type Description
Boolean True if the supplied shape passes the validation criteria.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null