RVTDocs.com
Namespace: Autodesk.Revit.UI Class: UIDocument

UIDocument.ShowElements(ElementId)

Method
Description:
Shows the element by zoom to fit.
Remarks:
Places the element in the center of screen by moving the view.
Syntax
public void ShowElements(
	ElementId elementId
)
Parameters
Parameter Type Description
elementId ElementId Element id that will be shown.
Return Value
Exceptions
Exception Condition
ArgumentException Element id is not valid.