RVTDocs.com
Namespace: Autodesk.Revit.DB Class: DirectShape

DirectShape.IsValidShape(ExternallyTaggedGeometryObject)

Method
Description:
Validates shape to be stored in a DirectShape.
Remarks:
This function uses the same criteria as IsValidShape(GeometryObject).
Syntax
public bool IsValidShape(
	ExternallyTaggedGeometryObject externallyTaggedGeometry
)
Parameters
Parameter Type Description
externallyTaggedGeometry ExternallyTaggedGeometryObject 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