DirectShape.IsValidShape(IList<GeometryObject>)
Method
Description:
Validates shape to be stored in a DirectShape. Supercedes and extends IsValidGeometry().
Validates shape to be stored in a DirectShape. Supercedes and extends IsValidGeometry().
Remarks:
This function calls IsValidShape(GeometryObject) to validate each object in the list.
This function calls IsValidShape(GeometryObject) to validate each object in the list.
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 and Curve. |
Return Value
Type | Description |
---|---|
Boolean | True if the supplied shape passes the validation criteria. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |