-
-
Notifications
You must be signed in to change notification settings - Fork 428
2022 UnitType Removal #1362
Copy link
Copy link
Closed
Labels
API ChangeRevit API change that breaks pyRevit [class->Upgraded #{number}: {title}]Revit API change that breaks pyRevit [class->Upgraded #{number}: {title}]ToolsIssues related to pyRevit commands [subsystem]Issues related to pyRevit commands [subsystem]
Metadata
Metadata
Assignees
Labels
API ChangeRevit API change that breaks pyRevit [class->Upgraded #{number}: {title}]Revit API change that breaks pyRevit [class->Upgraded #{number}: {title}]ToolsIssues related to pyRevit commands [subsystem]Issues related to pyRevit commands [subsystem]
Describe the bug
The
UnitTypeproperty of theDefinitionclass was deprecated in version 2021 of the Revit API and was removed in version 2022. Additionally, theParameterTypeProperty was deprecated in version 2022 (presumably it will be removed in version 2023).This affects some pyRevit commands, such as
Create schedule from CSV, which complains aboutUnitTypein 2022, but not in 2021 or earlier.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Work exactly like it does in 2021.
Desktop: