Hi
We use PowerMap V8i to export dgn file til Tab files (Mapinfo)
If a DGN file contains cells and we then use the function "Export" - "GIS Data Types" and choose "Add to Directory" then the TAB file name will be the same name that the cell has and not the name of the level.
Does anyone know if that can be changed so that it will be the level name ?
Regards
Carsten
Hi. Bentley Map has a set of rules to automatically recognize cad graphics as features. What is used for the filename is probably the feature name. In the case of cells, we assume that all point features using the same cell represent the same "feature class" and we use the cell name as the class name. You can turn this off by defining MS_GEOXFM_NO_CELLNAMEFEATURES = 1 in your workspace. You must restart Microstation for this to take effect.
Once this is turned off, the cells should be treated as other cad elements. The default rule then is to use the level name as the feature name. Here, Map assumes that everything that is on a particular level goes together and represent the same "feature class".
I assume at this point that if you export you should get the filename = the levelname.
Hope this helps,
Martin
Thank you for your help. It's just what I need.
Another thing.
I have set the variable MS_GEOXFM_DISALLOW_INFERRED_DBCONNECTION = 1 to get rid of the dialog box "Connect to Database".
So if there are attributes associate to the elements, they will not be read when using function Export - "Add to Gis Datatypes".
Can I get PowerMap to read attributes after the program start up, so they appear when using Export - "Add to Gis Datatypes"?
If you turn this off, then after opening the drawing, do you then connect to the database ? I beleive you should before exporting.
...also, if you do not want to disable the default DFS (Dynamic Feature Scoring) processing, in the Interoperability dialog, you can simply select the feature class to be exported and set the "Mapped Name" property in the "General" section which should then define the exported TAB filename.
Regards,
Jeff Bielefeld [Bentley]
I have a little macro that automatically connect database (db =).
So Is it possible to see the attributes associated with elements in the Export dialog box (Preview) after I have startet PowerMap ?
...if you connect to the proper database during Bentley Map or Bentley PowerMap session startup, then the RDBMS properties can be consumed by the "Interoperability" application including "Preview" as well as general "Search" and "Data Browser" capabilities. If the database connection is not made during the design file open event, then the RDBMS properties will not be available for consumption by the previously mentioned functionalities.
I was able to successfully export my data into shape file but i noticed in that database properties date is missing, the date property were not included in the dbf file...why?