Hello,
I'm trying to establish a link between Microstation and Autocad (dgn/dwg).
I would like to have a object based id that is the same in Autocad and Microstation
For example in Microstation each object has an ElementID, but from what i can find out this element id is lost when exporting to DWG
and the other way around, for example each object in Autocad has an handle, but this is nowhere to be found in Microstation.
I am able to write custom plugins for this type of work, but it seems there is no common ID / handle to establish an link between objects in dwg/dgn.
Best regards,
Martijn
Hi Martijn,
You will actually find that the DGN Element ID is actually retained on conversion to DWG as AutoCADs equivalent Entity Handle. This is the same number, but in Hexadecimal format. This should allow you locate the same converted element between file formats.
Not 100% sure on DWG to DGN, but I'd expect the same behaviour.
Regards,
Mark
OpenRoads Designer 2022 R1 (10.11) | Microstation CE Update 17.2 | ProjectWise CE 3.4
Model element ID's persist both ways, DWG to/from DGN. An exception is with proxies and other dropped elements. Those generated elements have assigned ID's.