VBA - Bentley MAP detach XFM Feature record from graphical element.

Since Bentley Map has no !! way to transfer the XFM data in an ordinary database, I had to write me a VBA application.

The VBA Macro creates a database attachement with the XFM Feature data. The the XFM block should be deleted.

In the MAP Help I havn't found any command to resolve this.

...........

Set oDatabaseLink = Application.CreateDatabaseLink(glMslinkOld, gnEntityNum, msdDatabaseLinkageOdbc, False, 0)


If oElement.IsGraphical Then
oElement.AddDatabaseLink oDatabaseLink
??? remove XFM ????
oElement.Rewrite
gnCount = gnCount + 1

......