| Revit 2017 API |
| UIDocument..::..ShowElements Method (Element) |
| UIDocument Class See Also |
Shows the element by zoom to fit.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 17.0.0.0 (17.0.484.0)
Syntax
| C# |
|---|
public void ShowElements( Element element ) |
| Visual Basic |
|---|
Public Sub ShowElements ( _ element As Element _ ) |
| Visual C++ |
|---|
public: void ShowElements( Element^ element ) |
Parameters
- element
- Type: Autodesk.Revit.DB..::..Element
Element that will be shown.
Remarks
Places the element in the center of screen by moving the view.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | Element is null. |