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 ThenoElement.AddDatabaseLink oDatabaseLink??? remove XFM ????oElement.RewritegnCount = gnCount + 1
......
After I got neither the community nor Bentley support a useful answer, I'm after a long look fond at these command:Keyin: fence feature remove all
But no xfm features are removed.
There are several graphical methods to remove XFM data from Features, making them MicroStation elements. See this Support Solutions for some examples: Methods to drop an XFM Features to plain MicroStation elements?
Thought you were looking specifically for a VBA example.
Hi GRJ,
I have no simple answer for your (sorry), but I'd like to ask what exactly do you want to achieve if talking about "no !! way to transfer the XFM data in an ordinary database"? Do you want to:
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point