Is there anyway to export dgn text elements to TAB text

Hi all

Is there anyway to export dgn text elements to Mapinfo TAB format text without changing the dgn text element to xfm features???

"Quick and dirty export"

 

//Tom

  • Tom,

    I believe a change request that could potentially expose text string values as business properties for inferred features would be worthwhile. This would allow you to simply open a MicroStation design file in Bentley Map and use the Interoperability application to export the desired MapInfo TAB or MIF/MID file, including the text string values as business properties. However there are a number of factors we must consider (such as potential performance impact) before extending the product with such a change.

    Until then, conversion of your inferred text features to XFM native features with text string values converted to business properties is a simple process. Using the following VBA code you can locate text elements on a particular level (using the inferred feature class name) then simply iterate through the resulting feature instances, adding a business property based upon the text string.

    The first bit of code defines the search criteria and determines whether or not you want to use fence, selection set or entire design file processing.

    The second bit of code iterates through the resulting features and creates a new business property based upon the text string value of the MicroStation text element.

    Please note that after running the conversion, you will need to close/reopen the design file (or simply keyin newfile) so that Bentley Map can recognize the fact that your previously inferred features are now native XFM feature instances with a feature class definition containing business properties.

    I've attached an archive containing the above example.

    Regards,

    Jeff Bielefeld [Bentley]



    text2xfm2.zip
  • Hi

    All other dgn elements (almost) except text elements are aviable to export throght Map Interoperability and there is an workaround to manage the whole thing but that is to go outside dgn, that is to save the dgn as an dwg file and then import the dwg throught universal translator (built in) into MapInfo and the text elements are imported as text in MI.

    Is it worth to create a CR for this issue ???. What do you think about it.

    It would be great to be able to export the RAW dgn file and get all the information from it to TAB.

    //Tom

  • Hi Tom

    As far I know, only XFM features can be exported from Map Interoperability.


    This is a test