Learning MicroStation VBA

Chapter 31: The Standards Checker

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  ...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Parity Checkers and Generators
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.