copied Revit 2024 SDK

This commit is contained in:
Jeremy Tammik
2023-04-26 14:47:47 +02:00
parent 2ca39e38fd
commit 4d69f3eea5
425 changed files with 344414 additions and 2296 deletions
@@ -41,7 +41,7 @@ namespace SectionPropertiesExplorer
foreach (Autodesk.Revit.DB.Element el in commandData.Application.ActiveUIDocument.Selection.Elements)
{
Autodesk.Revit.DB.BuiltInCategory cat = (Autodesk.Revit.DB.BuiltInCategory)el.Category.Id.IntegerValue;
Autodesk.Revit.DB.BuiltInCategory cat = el.Category.BuiltInCategory;
switch (cat)
{
@@ -392,7 +392,7 @@ namespace SectionPropertiesExplorer
public ElementEntry(Autodesk.Revit.DB.Element revitElement)
{
string elementDescription;
Autodesk.Revit.DB.BuiltInCategory cat = (Autodesk.Revit.DB.BuiltInCategory)revitElement.Category.Id.IntegerValue;
Autodesk.Revit.DB.BuiltInCategory cat = revitElement.Category.BuiltInCategory;
switch (cat)
{
case Autodesk.Revit.DB.BuiltInCategory.OST_StructuralColumns: