Bentley Microstation Dgn 89 Object Library
DOWNLOAD >>> https://urlca.com/2tuK9a
What is Bentley Microstation Dgn 89 Object Library and How to Use It
Bentley Microstation is a software application for designing, modeling, and visualizing infrastructure projects. It supports various file formats, including DGN, which is a native format for Microstation. A DGN file can contain different types of data, such as geometry, graphics, text, and attributes.
A DGN library, or DGNLib, is a special type of DGN file that is used to store shared resources, such as cells, levels, styles, templates, and settings. These resources can be used across multiple DGN files and by different users to ensure consistency and standardization. A DGN library can also contain customized tools, ribbon, toolboxes, and tasks that enhance the functionality and usability of Microstation.
The Bentley Microstation Dgn 89 Object Library is a component of the Microstation VBA (Visual Basic for Applications) programming interface. It provides access to the objects and methods of the Microstation application and the DGN files. With the Dgn 89 Object Library, you can create macros and scripts that automate tasks, manipulate data, and interact with the user interface of Microstation.
To use the Bentley Microstation Dgn 89 Object Library, you need to have Microstation installed on your computer and enable the VBA option in the installation process. You also need to have a compatible version of Microsoft Excel or another VBA host application. To reference the Dgn 89 Object Library in your VBA project, you need to locate the file msvba89.tlb in the ..\\\\Default\\\\dgnlib\\\\ folder of Microstation's program directory[^2^]. You can then add it to your project by using the Tools > References menu in the VBA editor.
Once you have referenced the Dgn 89 Object Library, you can use its objects and methods in your VBA code. For example, you can use the Application object to access the Microstation application and its properties and methods. You can use the DrawingSeed object to create new DGN files based on predefined settings[^2^]. You can use the ModelReference object to access and modify the active model in a DGN file. You can also use various collections and enumerations to iterate through different types of data in a DGN file.
The Bentley Microstation Dgn 89 Object Library is a powerful tool for customizing and automating Microstation workflows. It allows you to leverage the VBA programming language and the Excel environment to create solutions that suit your specific needs. You can find more information and examples about using the Dgn 89 Object Library in the Bentley Communities website[^3^] and the Microstation Help documentation[^2^].
How to Use Cells in Microstation
Cells are reusable objects that can simplify and standardize your Microstation drawings. They can represent common symbols, annotations, parts, or components that you need to use repeatedly. Cells can also contain text fields that you can edit to display specific information. Cells can be either graphic or shared. Graphic cells are regular elements that you can modify after placing them. Shared cells are instances of a master cell that you cannot modify individually, but you can update them globally by changing the master cell.
To use cells in Microstation, you need to load a cell library that contains the cells you want to use. A cell library is a DGN file that stores cells as models. You can attach a cell library from the Cell Library dialog box, which you can access from Element > Cell menu. You can also attach a folder that contains multiple cell libraries. Once you attach a cell library, you can see the list of cells in the dialog box. You can select a cell and click the Placement button to activate it for placement[^1^].
After you activate a cell for placement, you can use the Place Active Cell tool from the task navigation. You can then click on your drawing to place the cell at the desired location. You can also change some settings before placing the cell, such as scale, rotation, and justification. You can also use AccuDraw or AccuSnap to help you place the cell precisely[^2^].
If you want to place a shared cell, you need to activate the Use Shared Cell option in the Cell Library dialog box. This will make the placed cell an instance of the master cell, which means it will have the same properties and attributes as the master cell. You cannot modify a shared cell individually, but you can update all instances of a shared cell by changing the master cell[^2^].
Cells are useful for creating and maintaining consistent drawings in Microstation. They can save you time and effort by allowing you to reuse objects that you need frequently. You can also create your own cells and store them in your own cell libraries for future use. ec8f644aee