getScriptDir

Returns the script directory path.

Syntax
getScriptDir ()
Type
Pulse Python API command.
Description
Returns the script directory path.
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.getScriptDir()