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

ElementType.IsSimilarType

Method
Description:
Checks if given type is similar to this type.
Remarks:
Two types are similar if elements that have one type could be assigned the other type.
Syntax
public bool IsSimilarType(
	ElementId typeId
)
Parameters
Parameter Type Description
typeId ElementId ElementId of the type to check.
Return Value
Type Description
Boolean True if given type is similar to this type, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null