UIDocument.ShowElements(Element) Method

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
)
Public Sub ShowElements ( 
	element As Element
)
public:
void ShowElements(
	Element^ element
)
member ShowElements : 
        element : Element -> unit 

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