RVTDocs.com

DirectShapeType.IsValidUsage

Method
Description:
Validates that the ExternallyTaggedGeometryObject's usage is set to an allowed value for a DirectShapeType.
Syntax
public bool IsValidUsage(
	ExternallyTaggedGeometryObject externallyTaggedGeometry
)
Parameters
Parameter Type Description
externallyTaggedGeometry ExternallyTaggedGeometryObject The geometry to check.
Return Value
Type Description
Boolean True if the usage is permitted.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null