I am attempting to import Wincore data through Utilities>Macro>Microstation BASIC. After running the wincore.bas file and then selecting to open the .clg file, I receive an error message "Unable to load whose dialog is 1". Any advise on this?
Thank you!
What version of Microstation are you running?Have you used this routine before?Have you updated software since then?
MicroStation BASIC has been obsolete and unsupported for years. I wouldn't be surprised if it can't even run on the Connect version of MicroStation.
What is this routine supposed to do? What is a CLG file?
MaryB
Power GeoPak 08.11.09.918Power InRoads 08.11.09.918OpenRoads Designer 2021 R2
Turns out its now a .ba rather than .bas file.
MaryB said:I wouldn't be surprised if it can't even run on the Connect version of MicroStation
Don't be surprised: MicroStation CONNECT does not support BASIC. It does, however, support VBA v7.1, which is a 64-bit version of Microsoft VBA.
Regards, Jon Summers LA Solutions
Amber McCullough said:After running the wincore.bas file and then selecting to open the .clg file, I receive an error message "Unable to load whose dialog is 1"
A MicroStation BASIC macro always has a .bas source code file. When you first run a macro, it is automatically compiled to a run-time .ba file.
.bas
.ba
If a BASIC macro has a user interface (i.e. a dialog box) then it is stored directly in the .ba file. In that case, you must run the .ba file to see the dialog, otherwise you see the error message you quoted. If you have a BASIC macro that pops a user interface, then the .bas file is insufficient. It's one of the snags of BASIC that you must keep track of both types of file.
Has anyone had the issue where you load the macro, but it doesn't print the soil layers? prints the symbol and station offset, but not the strata? When I print to PDF in Wincore it does print a bore log. Not sure what is going on.
Also is there any way to import in OpenRoads?
Thank You in advance.