HyperWorks Desktop

::hw::automate::LoadTaskFile

::hw::automate::LoadTaskFile

Previous topic Next topic No expanding text in this topic  

::hw::automate::LoadTaskFile

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

Syntax

::hw::automate::LoadTaskFile filename xpos ypos

Arguments

filename

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::LoadTaskFile {C:\14.0\demos\automate\1_math_task_basic_datatype\MathTask.tsk} 100 100

Description

Creates a new instance of the task specified by .tsk file filename at the location x position, xpos, and y position, ypos, on the current process modeling window. Equivalent to the New Task from File option.