mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-08-30 00:23:01 +00:00
copied Revit 2024 SDK
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user