CST - Obtain Smith chart values with VBA in CST

CST Studio Suite  Hi,

I am familiar with extracting S-parameter data using the ResultTree object. Recently, I also need to obtain Smith chart values using VBA.

I converted my plot view from S-parameters to the Smith chart using the following commands:

SelectTreeItem("1D Results\\S-Parameters\\S1,1")
Plot1D.PlotView "smith"
Plot1D.Plot
Wait 1

 

However, the CST documentation does not provide an explanation on how to extract Smith chart data (specifically, reading impedance from the chart). I would greatly appreciate it if you could provide an example or guide me on how to obtain the Smith chart results using VBA code.