Revit 2025 API
UIDocumentShow |
Shows the elements by zoom to fit.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void ShowElements( ICollection<ElementId> elementIds )
Public Sub ShowElements ( elementIds As ICollection(Of ElementId) )
public: void ShowElements( ICollection<ElementId^>^ elementIds )
member ShowElements : elementIds : ICollection<ElementId> -> unit
Parameters
- elementIds ICollectionElementId
- The set of element ids which will be shown.
| Exception | Condition |
|---|---|
| ArgumentNullException | elementIds is null. |
| ArgumentException | Member of elementIds is null. |
| ArgumentException | Member of elementIds is not valid. |
Places all the elements on the screen by moving the view.
See Also