RVTDocs.com

Field.CompatibleUnit

Method
Description:
Checks if the specified unit is compatible with the field description.
Syntax
public bool CompatibleUnit(
	ForgeTypeId unitTypeId
)
Parameters
Parameter Type Description
unitTypeId ForgeTypeId The unit to check.
Return Value
Type Description
Boolean True if the unit is compatible, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null