Move Selected Objects Method

Short Name: Move Selected Objects

Requires: VI Scripting

Class: TopLevelDiagram Methods

To Use: Create a method.

Moves the selected objects within this TopLevelDiagram by the number of pixels specified in X/Y Delta. This method simulates a mouse drag, and it has the same side effects associated with mouse-dragging in the development environment, including resizing an owner to contain the dragged objects, altering the selection list to include objects duplicated by the drag, and forcing a duplicate-drag when moving objects to another block diagram.

Parameters

Data typeNameRequiredDescription
X/Y DeltaNoMoves the selected objects the number of pixels specified in X and Y.
New OwnerNoMoves objects such that they are all owned by the object specified in this parameter. If you do not specify a new owner with this parameter, all objects stay within their current owner.
Duplicate?NoCreates a copy of the moved objects.

Remarks

The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemYes
Settable when the VI is runningNo
Loads the front panel into memoryYes
Need to authenticate before useNo
Loads the block diagram into memoryYes
Remote access allowedYes