Revit 2025.3 API
UIDocumentShow |
Shows the elements by zoom to fit.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void ShowElements( ElementSet elements )
Public Sub ShowElements ( elements As ElementSet )
public: void ShowElements( ElementSet^ elements )
member ShowElements : elements : ElementSet -> unit
Parameters
- elements ElementSet
- The set of elements that will be shown.
| Exception | Condition |
|---|---|
| ArgumentNullException | Elements is null. |
| ArgumentException | Member of elements is null. |
Places all the elements on the screen by moving the view.
See Also