MicroScope CE [1.1]


7433.MicroScope-CE.zip

MicroScope CE 1.1 is a diagnostic tool used in conjunction with MicroStation CONNECT Edition. It is useful when creating custom tools, performing various "debugging" operations, and while creating scripts for the batch processor.

The applet records a collection of detailed, user-specified events giving the user real-time access to "under-the-hood" information on MicroStation's operation.  It records large events such as reference attachments, ordinary commands, and granular events such as individual mouse clicks. It also has the ability to include detailed, user-specified element information as a part of the history it records.

 Written in VBA, MicroScope CE 1.1 launches automatically upon load and immediately begins recording events. There are no special installation requirements.

Points of Interest
For New and Experienced MicroStation VBA Programmers...

  1. The Class Module ClsEvents implements several interfaces in order to respond various MicroStation events:
    • IAttachmentEvents
    • IChangeTrackEvents
    • ILevelChangeEvents
    • IModelActivateEvents
    • IModalDialogEvents
    • IModelChangeEvents
    • IPrintEvents
    • IRasterEvents
  2. The Class Module CLSWatchQueue intercepts and posts data from the CadInputQueue
  3. The Class Module ClsElementInfo implements ILocateCommandEvents and makes use of CreatePropertyHandler
  4. Keywords, objects, methods properties, etc.
    • CadInputMessage
    • GetDisplayString
    • Implements
    • MessageCenter
    • MsdElementType
    • OnProjectLoad
    • PropertyHandler
    • SelectByAccessString
    • CommandState.commandresult 

1.1 Release Notes:

  1. Code Restructured
  2. Added error messages from CommandState.commandresult
  3. Stability improvements including
    1. Now works properly with MS_VBAAUTOLOADPROJECTS