Skip to content

Commit

Permalink
make list explicitly element ids
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremytammik committed May 14, 2020
1 parent 791c5d7 commit f718f9a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Labs/2_Revit_UI_API/SourceCS/2_Selection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,7 @@ public void CancelSelection()
// TaskDialog.Show("Revit UI Lab", s);
//}

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

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

/// end of Changing in Revit 2015

/// <summary>
/// Helper function: summarize an element information as a line of text,
/// which is composed of: class, category, name and id.
Expand Down

0 comments on commit f718f9a

Please sign in to comment.