There is no tool available to record VBA as a macro.
Unfortunately, you cannot perform alignment (nor zooming) operations programmatically -- these are just not exposed through the BatchView control's automation interface. The best option for you at this point is to contact our regular Technical Support and submit this as an Enhancement Request.
Thank you Barry. I submitted an Enhancement Request.
Hi There, currently I have the same issue: I'm looking for sample VBA code to
"Expand every PIUnitBatch", then "Align to every PIUnitBatch\XXXXX Phase".
Is it now available?