Method CmdMove
- Namespace
- vdWebLibrary
- Assembly
- JsPropertiesExtractor.dll
CmdMove(object, object, object, CmdScriptCallback)
Moves an array of vdraw entities from one point to another. Check the function finished throw the passed scriptCallBack delegate
public void CmdMove(object entities, object from, object to, CmdScriptCallback scriptCallBack = null)
Parameters
entitiesobjectAn array of vdraw entities or null so the user can pick the objects on screen.
fromobjectThe base point in World coordinates or null so the user can pick this point to the screen.
toobjectAnother point representing where the objects will be placed in World coordinates or null so the user picks this point on screen.
scriptCallBackCmdScriptCallbackOptional.A delegate of CmdScriptCallback type to be fired when the user action finish
Remarks
This command does not write to UndoHistory() and Script buffer. In order to do that use the scriptCommand.move(object, object, ScriptSelectDelegate)