VBA Help with Creation of Input files

Hi all,

I'm a newbie to Microstation and Geopak so please bear with me. I have a requirement where I have to create the input files as a 2 step process. Once for spots at certain levels and then for break lines at the remaining levels. These inputs will need to be appended to the same file. I have tried using the API but I can't see an append option (similar to what you see in Extract Graphics) or the ability to specify levels as the scan criteria. In addition, when I use the SaveAsAscii method it doesn't take the file name that I pass in as it creates a file with the name __data__.tmp in the correct directory.

Can I achieve this using the API or do I have to resort to something else? In addition, if you have any samples or references that achieve something similar that would help.

Thanks in advance,

Gagan