getCurrentTaskID

Returns the ID of the current task.

Syntax
getCurrentTaskID()
Type
Pulse Python API command.
Description
Returns the ID of the current task.
Version History
2022.1

Example

#Load Pulse API
apidir = os.environ['ALTAIR_PULSE_API']
path = os.path.join(apidir,"python")
sys.path.append(path)

import pulse

pulse.getCurrentTaskID()