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

UIDocument.ShowElements(ICollection<ElementId>)

Method
Description:
Shows the elements by zoom to fit.
Remarks:
Places all the elements on the screen by moving the view.
Syntax
public void ShowElements(
	ICollection<ElementId> elementIds
)
Parameters
Parameter Type Description
elementIds ICollection The set of element ids which will be shown.
Return Value
Exceptions
Exception Condition
ArgumentNullException elementIds is null.
ArgumentException Member of elementIds is null.
ArgumentException Member of elementIds is not valid.