Register Here Win Swags x Did you miss Live.NET Conference Watch Day 2 here.View All Notifications C Corner Post An Article A Blog A News A Video An EBook An Interview Question Ask Question TECHNOLOGIES ANSWERS LEARN NEWS BLOGS VIDEOS INTERVIEW PREP BOOKS EVENTS CAREER MEMBERS JOBS MicroStation V8 VBA Programming Daniel Bollavarapu.Updated date Jun 23, 2017 68.6k 0 1 Getting Started with VBA Programming.The recent release of MicroStation V8 introduces another automation feature, Visual Basic for Applications (VBA).
This new implementation of VBA provides rapid development features for designing applications and tools for MicroStation. Organizations can leverage built-in knowledge of Windows programming to improve the CAD workflow and environment. Casual developers, such as CAD managers, can take advantage of visual interface construction tools to build Windows-like programs quickly. Despite these advantages however, CAD managers may still opt to defer development of more sophisticated applications to professional programmers. Although VBA makes automation easier, there are still problems that require programming skill and experience. MDL, a C programming language, has always had an advantage over MicroStation BASIC Macros for a couple of reasons. First, MDL creates elements dynamically, displaying them as they are dragged around the screen. And second, macros must be started each time you need them, whereas MDL applications are loaded, but run silent until a command is requested. However, MDL requires considerable programming expertise, that usually is outside of the average users scope of knowledge. But, is ease of programming really the most important aspect of VBA Well, maybe. But, since MDL, Macros, and dont forget JMDL can already handle automation needs, do we need VBA In a word, yes. It has the ability to read and write to MicroStation from other applications. For example, a VBA application in Excel can scan the contents of a MicroStation file directly and manipulate the spreadsheet or the design file based on conditions discovered in either file. A manufacturer of spray nozzles may use a spreadsheet to calculate the flow rate required in a main supplying a nozzle array. The spreadsheet could be arranged such that the total flow rate and the pipe main size are calculated based on nozzle model numbers entered into the spreadsheet. An Excel VBA could automatically draw the array and label the drawing with size and flow parameters of the array. Microstation Vba Examples How To Use MicroStationThe spreadsheet user doesnt need to open the MicroStation drawing or even know how to use MicroStation. Figure 1: Create Drawing From Excel VBA In the next few pages we will examine the mechanics of the MicroStation VBA process.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |