DirectShape.IsValidTypeId
Description:
Tests the type id to make sure it satisfies the following conditions It is a valid element id.It corresponds to a valid DirectShapeType.The DirectShapeType has the same category assigned.
Tests the type id to make sure it satisfies the following conditions It is a valid element id.It corresponds to a valid DirectShapeType.The DirectShapeType has the same category assigned.
public bool IsValidTypeId(
ElementId typeId
)
-
A non-optional argument was null