Hi guys,
This is a copy of a question I asked in programming, (but they throw me out..)
How to get started with VBA in microStation that accesses ALG and DTM files (with PowerCivil)?
I need to scan a bunch of files for contents. I need to load and pull basic information from the inroads filetypes DTM and ALG. Just counting elements. Number of surfaces, breaklines and such - I don't need to perform anything advanced at all.
Using SCadSDKAT ?
In 2012 I did it using microstation VBA, but I have since lost my thinking hat it seems as I have not been able to find a shread of information and my old code just doesn't work!
Using Bentley_Civil_Applications_Survey_COM_3_0 ?
I can reference this lib in the mvba editor in microStation but I have no idea how to handle it.
I hack VBA macros like the reast of the world..
I already made all of the VBA for a bunch of other file types and all of the output handling, I "just" need to get at the info from these two Bentley filetypes and I am done,.
So I would prefer to stay within the realm of VBA as that - now and always - have worked wonders in our entire office/CAD setup. Fast and easy to deploy. Mmmmm wee..bee...aaii..
Please help! :)