Hi,
I'm having a problem with a vba macro that I'm creating in CST Studio Suite Version 2023.05.
I'm trying to export a 2D/3D Result with the ASCIIExport Object with the next code:
SelectTreeItem("2D/3D Results\\E-Field\\e-field")
With ASCIIExport
.Reset
.FileName("field_save.txt")
.SetPointFile(spherical_grid.dat)
.Execute
End WithI'm sure that the paths are good.
The file is being created but ignores the pointfile provided. Even trying another options like:
With ASCIIExport
.Reset
.FileName("field_save.csv")
.Mode ("FixedNumber")
.StepX (12)
.StepY (12)
.StepZ (8)
.SetfileType ("csv")
.SetCsvSeparator (",")
.Execute
End WithIt's also ignoring the steps but using the csv format. It seems like it's always taking the default options for steps.
Am I doing something wrong?
Thanks in advance for the help,
Jorge.
