I tried to export dgn file to shape file but I encountered a problem...
In the Interoperability form I selected 'New Export' and after that I selected 'Add ESRI SHP file'.
When I tried to export 1 feature the message below reported appear:
Exception: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. The dbf, shp and shx files are created but their dimensions are only 1 KB...
I thought the dgn dimension was the problem but I had the same problem with a dgn with only 2 features.
What can I do?
Thanks in advance.
Alder
N.B. I use Bentley Map XM edition (08.09.04.147 version) but I have the same problem with Bentley Map V8I (08.11.07.87 version)
Can you also post the drawing that has the data you are trying to export ??
Here is my dgn.
Thanks.
Something strange with this data. I can open the drawing, create a export node, but no features show up in the list, though I can review the feature using the data browser, feature analyer, etc. Can you file a ST with TSG and post this file with the ST. This way we can dig deeper into the problem.
Tx.
Jerry
Alder,
While your sample design file contained 2 visible polygon feature instances, it seems there were some ~500 instances of the Mare and Terra feature class that contained no geometries. Were these intended to be data only features? Using the Data Browser application and performing a "Load All" indicates both Mare and Terra feature classes are being seen as data only features (based upon the icon)...
...which explains why Jerry was unable to see any features under the "Export" node in the Interoperability application. After removing the possibly orphaned feature instances, the Data Browser reveals 2 instances of the Terra feature class...
...which are correctly seen as polygon geometry types. These feature instances can then be successfully exported using the Interoperability application as seen in the following:
A revised copy of your design file and resulting SHP are attached for your reference. We need to determine 1) if the data only features were intentional and if not 2) what process caused this situation.
Regards,
Jeff Bielefeld [Bentley]
Jeff, How can I remove the orphan features?
The orphan features are not intentional... I'll check what caused this situation
To remove the orphans, you can use the following workflow:
Once the above steps have been completed, restart Bentley Map and open your newly created design file and using the "Load All" command in the "Data Browser" application, check to see if the polygon icon is shown for your Terra feature class. If confirmed, you should be able to perform an "Export" using the "Interoperability" application.
Thanks, it works!
I solved the problem.
Regards.