UIDocumentShowElements(Element) Method

Shows the element by zoom to fit.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void ShowElements(
	Element element
)

Parameters

element  Element
Element that will be shown.
Exceptions
ExceptionCondition
ArgumentNullExceptionElement is null.
Remarks
Places the element in the center of screen by moving the view.
See Also