AnsweredAssumed Answered

How to get DGN version using Python?

Question asked by jungf on Jan 31, 2012
Latest reply on Jul 31, 2012 by jungf
Hi,
I'm currently dealing with problem how to effectively get DGN drawing dataset version. It is important to me to know that because after version check I call prepared ETL tool from Toolbox with DGN7 or DGN8 reader and GDB writer.
The way I'm doing it now is listing feature classes in given DGN dataset, getting the first feature class with more than 0 records, and importing one feature to temporal feature class. Then I'm reading value in "DocVer" field of imported feature. This works but it's painfully slow (eg. for 50 DGNs)!
I wonder if there is another way to do that. Best would be implementation into Describe object to call something like Describe("data.dgn").docVer. The version is very quickly accesible from DGN drawing Properties in ArcCatalog, so it couldn't be too hard to get it in Describe object.
Or am I missing something? Is there a way to do that in Spatial ETL Tool in Data Interoperability?
Thanks for any help!
Filip

Outcomes