From Learning MicroStation VBA

The Standards Checker helps keep our files in line with established standards. Using this functionality as it is installed with MicroStation can do a fairly good job performing basic standards checking add the power and flexibility of VBA and nothing can hold us down.

First, you should note that unhandled errors that occur in your standards checker routines can cause severe errors. Some may even shut down MicroStation completely. So, you need to take care when working with standards checker code. Make sure to save your VBA Projects often and verify that any DGN files open in MicroStation are also saved.

Basics of Implementing the Standards Checker

Implement the Standards Checker by using the IStandardsChecker Interface. As with other interfaces we have implemented, use a class module and write your code within events.

'General DeclarationsImplements IStandardsChecker      Private Sub IStandardsChecker_AddedCheckerToStandardsCheckerApps( _    ByVal ApplicationXMLNode As Object)   End Sub      Private Property Get IStandardsChecker_CallForEachModel() As Boolean   End Property      Private Sub IStandardsChecker_CreateSettings()   End Sub      Private Sub IStandardsChecker_DeleteSettings()   End Sub      Private Property Get IStandardsChecker_Description() As String   End Property      Private Property Get IStandardsChecker_DialogString() As String   End PropertyPrivate Sub IStandardsChecker_EditSettings(ByVal _                IsReadOnly As Boolean)End Sub  ...
Copyright Bentley Systems, Incorporated. 2006 under license agreement with Books24x7

Products & Services
Refractory Shapes
Refractory shapes include recasted, preformed or sintered refractory products that are formed prior to installation in furnaces, boilers or other high temperature equipment. 
Water and Sewer Utility Services
Water and sewer utility services supply drinking water, remove sewage and wastewater, and/or install connections from processing facilities to private or public water lines and sewers. They supply water to commercial, industrial, and residential end-users; and receive sewage, wastewater, and other used water (such as gray water) for treatment
Contract Manufacturing Services
Contract manufacturing services provide parts and equipment on behalf of original equipment manufacturers (OEM). The design and brand name remain the property of the OEM. Contract manufacturing may involve a complete range of services from design and prototyping to final production, assembly, and quality assurance for complete products.
Language Translation Services
Language translation services translate documents, web sites, product information and personal communications into one more human languages.
Masters and Setting Gages
Masters and setting gages provide dimensional standards for calibrating other gages.

Topics of Interest

We added references to things such as the "Microsoft Scripting Runtime," "Microsoft ActiveX Data Objects," "Microsoft CDO for Windows 2000" and so forth. When we did this, we had instant access to...

VBA is not just for programmers and not just for MicroStation users . it is a powerful tool for CAD Managers as well. Using VBA for Maintaining Standards Because standards differ from company to...

These next four chapters continue with responding to events in MicroStation beginning with the IAttachmentEvents interface. Five events are exposed. The IAttachmentEvents Interface Let's create...

Providing User Feedback and Information Earlier in this chapter we learned how to provide the user feedback and information through the use of the status bar area in MicroStation. If we look at the...

The last interface exposing MicroStation events that we will look at in this book is the "Change Track Events" interface which exposes four events: BeginUndoRedo, ElementChanged, FinishUndoRedo, and...

Product Announcements
Pittsburgh Corning (FOAMGLAS® insulation)
Pittsburgh Corning (FOAMGLAS® insulation)
Pittsburgh Corning (FOAMGLAS® insulation)