HyperWorks Desktop

::hw::automate::LoadTask

::hw::automate::LoadTask

Previous topic Next topic No expanding text in this topic  

::hw::automate::LoadTask

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

::hw::automate::LoadTask name xpos ypos

Arguments

name

Task name (refers 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

Description

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.