TemperatureRating.GetTemperatureRatingIdByName
Description:
Gets the Conductor Temperature Rating id by given Conductor Temperature Rating name.
Gets the Conductor Temperature Rating id by given Conductor Temperature Rating name.
-
document is not a project document. -or- name cannot include prohibited characters, such as "{, }, [, ], |, ;, less-than sign, greater-than sign, ?, `, ~". -or- name is an empty string.
-
A non-optional argument was null
-
The document is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements).