2027 Method
Changes 0
M

Selection.PickBox

Description:
Invokes a general purpose two-click editor that lets the user to specify a rectangular area on the screen.
Remarks:
The method starts an editor and returns when it finishes. Returns a PickedBox that contains two XYZ points.
Overloads (2):
PickBox(PickBoxStyle)
public PickedBox PickBox(
	PickBoxStyle style
)
  • style
    Specifies the value that controls the style of the pick box.
Return Value PickedBox The picked box that contains two XYZ points.
  • Thrown when the style is not a recognized value.
  • Thrown when the Revit user cancelled this operation. Thrown when the Revit user tried to switch the active view, close the active document or Revit application when responding to this mode.