

Subroutine NextFile simulates a key-in command. The Previous and Next buttons call the corresponding method in class clsNextFile. VBA UserForm frmNextFile is the primary user interface. It provides methods to get the next or previous DGN file name in that list. It maintains an index to the current active DGN file. On first loading, clsNextFile builds a list of DGN files found in the same folder as the active DGN file. VBA class clsNextFile is the primary data holder.
#Microstation v8i key plus#
This VBA project provides similar functionality plus a user interface.įurthermore, it's available for MicroStation CONNECT, where BASIC is unsupported. The ChangeFile BASIC macro ( ChangeFile.ba) has been around for a while.
#Microstation v8i key code#
If you're not interested in the description of the VBA code that follows, You don't need to know anything about VBA to use our tool. Put those last two key-ins in a MicroStation Function Key Menu or custom user interface widget. Vba run modMain.NextFile Simulates pressing the Next or Previous button vba run modMain.NextFile + Simulates pressing the Next button vba run modMain.NextFile - Simulates pressing the Previous button With the DGN File Browser showing, you can use another key-in to move through your DGN files … The Previous and Next buttons let you open another DGN file in the same folder as the active DGN file. The UserForm shows the current DGN file (the active DGN file). Load the VBA project using key-in vba run modMain.main So you can, for example, use function keys to open the next file. It's a shortcut that saves time by avoiding MicroStation's File|Open menu.Īdditional capability lets you key-in a command that simulates the user interface, The purpose of the tool is to let a user move through the collection of DGN files present in the Then somebody asked: "Can I have the Next File tool for MicroStation V8 i?" He had a BASIC macro from the last century.īecause BASIC is not supported by MicroStation CONNECT, he wanted a VBA equivalent.


The Next File tool was developed in response to a request by a MicroStation CONNECT user. Tips are published as examples and are not necessarily working code. This page lists some solutions to common MicroStation VBA ( MVBA) problems. Questions similar to these appear in the Be Communities MicroStation Programming Forum.
