Revit 2018 API |
UIDocument..::..ShowElements Method (ICollection<(Of <(<'ElementId>)>)>) |
UIDocument Class See Also |
Shows the elements by zoom to fit.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 18.0.0.0 (18.2.0.13)
Syntax
C# |
---|
public void ShowElements( ICollection<ElementId> elementIds ) |
Visual Basic |
---|
Public Sub ShowElements ( _ elementIds As ICollection(Of ElementId) _ ) |
Visual C++ |
---|
public: void ShowElements( ICollection<ElementId^>^ elementIds ) |
Parameters
- elementIds
- Type: System.Collections.Generic..::..ICollection<(Of <(<'ElementId>)>)>
The set of element ids which will be shown.
Remarks
Places all the elements on the screen by moving the view.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | elementIds is null. |
Autodesk.Revit.Exceptions..::..ArgumentException | Member of elementIds is null. |
Autodesk.Revit.Exceptions..::..ArgumentException | Member of elementIds is not valid. |