How can I get the name of the analysis block that my python code object is running in?

Tasos
Tasos Member, Employee Posts: 20
10 Comments Name Dropper 5 Likes Photogenic
✭✭✭✭

I am using a python code object under solution to postprocess results. I need to access the name of the analysis block the current script is in. I need the workflow to work without the Mechanical GUI (working in batch from workbench).

Best Answer