Trying to exit from a spaceclaim script using sys.exit(), but that does not work (say sample code below gives an error on last line). Does anyone know why and how one can exit a code in spaceclaim.
# Python Script, API Version = V232
import sys
for i in range(10):
print(i)
if i == 5:
print('hi')
sys.exit()