Create Method


Creates a new instance of a set specifically for holding selected elements.

Namespace: Autodesk.Revit.UI.Selection
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public static SelElementSet Create()
Visual Basic
Public Shared Function Create As SelElementSet
Visual C++
public:
static SelElementSet^ Create()

Return Value

Returns a new Element Set.

Remarks

If the user wants to change the selected Element with the API, the instance SelElementSet must be created to do the operation of Add and Remove.

See Also