When you replace the cell in the basic macro, I presume you are placing
a new cell. Chances are that the new cell is not *exactly* like the old
one therefore the file pointers will not be the same. The new cell will
probably be placed at the end of the file. If you save the eof position
before placing the new cell, and then read the cell from this new
position, you should be able to attach the tag data to the correct
> I want to update my (not shared) cell definitions in my
> drawing. The cells have Tags attached to them. Whenever
> I replace the cells (through REPLACE CELL or REPCELL.MA)
> the tag information disappears.
> I tried to create a Basic program to store the tag-info
> before replacing and putting it back afterwards but this
> produces very strange results (new tags attached to
> wrong elements)
> Anyone any suggestions?
> J. Groot Lipman
Bentley Systems, Inc.
Geoengineering Business Group