CST Studio Suite -> Macro Editor
I am going to make a macros that is processing with probe E-field data. I have about a hundred of probes so it is necessary to automatize process. Firstly I selected current TreeItem:
>> SelectTreeItem("1D Results\Probes\E-Field\")
Then I have to somehow pick every probe E-field data by its name. But I don't know how. The pseudocode should look like that:
>> Initializing some variables
>> For i = 1 To len( SelectTreeItem("1D Results\Probes\E-Field\") ) 'Pick every element
>> If InStr("Abs",Element[i].Name) > 0 Then 'Trying to take only module
>> SomeDataSheet[i] = GetDataByIndex(Element[i]) 'Extract some data from it
>> EndIf