Hi All,
My text got chopped from my post, so I am writing it again here. In my above post, I wrote this code and it has some quirkiness to it. Could someone have a look and see if I did anything bad. I can live with the quirk, but I worry that I might corrupt the file if I am doing something wrong. The quirk is that when I use the code to add tagname the first time, the element the tag element goes with won't Undo. That is you can't undo it with the Microstation undo feature. On subsequent uses of the tagname, the undo works. I've included my test project and a seed file.
Thanks,
Minion
My text got chopped from my post, so I am writing it again here. In my above post, I wrote this code and it has some quirkiness to it. Could someone have a look and see if I did anything bad. I can live with the quirk, but I worry that I might corrupt the file if I am doing something wrong. The quirk is that when I use the code to add tagname the first time, the element the tag element goes with won't Undo. That is you can't undo it with the Microstation undo feature. On subsequent uses of the tagname, the undo works. I've included my test project and a seed file.
Thanks,
Minion