I am trying to get the Workbench block name using the following command in a python code object in Mechanical.
While my_block_name = Model.Analyses[0].SystemCaption
works when Mechanical UI is running, it fails in batch mode when running the analysis from Workbench.
Is there a Workaround?