Changes in 2020 vs 2021 4 missing 4 changed
Flip API Versions →Missing in 2020 (only available in 2021)
Changed members
Entity.Get``1(String, DisplayUnitType)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `Get(string, ForgeTypeId)` overload instead.
| fieldName | String | The name of the field to retrieve. |
| displayUnits | DisplayUnitType | The units to which the value will be converted before returning. Must match the UnitType specified when creating the Schema. |
| → returns | FieldType |
Entity.Get``1(Field, DisplayUnitType)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `Get(Field, ForgeTypeId)` overload instead.
| field | Field | The field to retrieve. |
| displayUnits | DisplayUnitType | The units to which the value will be converted before returning. Must match the UnitType specified when creating the Schema. |
| → returns | FieldType |
Entity.Set``1(Field, FieldType, DisplayUnitType)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `Set(Field, FieldType, ForgeTypeId)` overload instead.
| field | Field | The field to update. |
| value | FieldType | |
| displayUnits | DisplayUnitType | The units from which the value will be converted before storing. Must match the UnitType specified when creating the Schema. |
| → returns | Set |
Entity.Set``1(String, FieldType, DisplayUnitType)
Became obsolete in 2021: This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `Set(string, FieldType, ForgeTypeId)` overload instead.
| fieldName | String | The name of the field to update. |
| value | FieldType | |
| displayUnits | DisplayUnitType | The units from which the value will be converted before storing. Must match the UnitType specified when creating the Schema. |
| → returns | Set |