::hw::automate::LoadTask
Creates a new instance of the task specified by the specname at the location x position, xpos, and y position, ypos, on the current Process Modeling window. Equivalent to dragging and dropping a task from the Palette.
Syntax
::hw::automate::LoadTask name, xpos, ypos
Arguments
- name
- Task name (refers to name attribute as given in the Task Representation File .tsk).
- xpos
- X coordinate where the task needs to be placed.
- ypos
- Y coordinate where the task needs to be placed.
Returns
Task ID if successful. Error if unsuccessful.
Example
::hw::automate::LoadTask IMathTask 50 50