::pulse::GetCurrentTaskID

Returns the ID of the current task.

Syntax
::pulse::GetCurrentTaskID
Type
Pulse Tcl API command.
Description
Returns the ID of the current task.
Version History
2021.2

Example

#Load Pulse API
set api_dir $::env(ALTAIR_PULSE_API)
set tcl_dir [file join $api_dir "tcl"]
lappend ::auto_path $tcl_dir
package require pulse

::pulse::GetCurrentTaskID