Skip to content

Commit f718f9a

Browse files
author
Jeremy Tammik
committed
make list explicitly element ids
1 parent 791c5d7 commit f718f9a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Labs/2_Revit_UI_API/SourceCS/2_Selection.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,7 @@ public void CancelSelection()
413413
// TaskDialog.Show("Revit UI Lab", s);
414414
//}
415415

416-
/// Changing this in Revit 2015
417-
///
418-
public void ShowElementList(IEnumerable elemIds, string header)
416+
public void ShowElementList(IEnumerable<ElementId> elemIds, string header)
419417
{
420418
string s = "\n\n - Class - Category - Name (or Family: Type Name) - Id - " + "\r\n";
421419

@@ -432,8 +430,6 @@ public void ShowElementList(IEnumerable elemIds, string header)
432430
TaskDialog.Show("Revit UI Lab", s);
433431
}
434432

435-
/// end of Changing in Revit 2015
436-
437433
/// <summary>
438434
/// Helper function: summarize an element information as a line of text,
439435
/// which is composed of: class, category, name and id.

0 commit comments

Comments
 (0)