GetCurrentTaskID
Returns the ID of the current task.
- Syntax
 GetCurrentTaskID()- Type
 - Pulse Lua API command.
 - Description
 - Returns the ID of the current task.
 - Version History
 - 2022.1
 
Example
--Load Pulse API
apidir = os.getenv(“ALTAIR_PULSE_API”)
mymodulepath = apidir..”/lua”
package.path = package.path..mymodulepath
package.path = package.path.."\\?.lua"
local pulse = require "pulse"
pulse.GetCurrentTaskID()