IntelliCAD 11.1 Object Library
EndOpen Event
See Also 
DrawingName
Workspace Object : EndOpen Event

Description

Occurs after a drawing has been opened.

Syntax

Visual Basic
Public Event EndOpen( _
   ByVal DrawingName As String _
)

Parameters

DrawingName

Example

The following example illustrates using the EndOpen event with an Application object. To use the EndOpen event with a Workspace object, you do not need to initialize the App variable.

Public WithEvents App As Application

Sub init()

     'To receive and handle events from IntelliCAD, first initialize the App variable.

      Set App = ThisWorkspace.Application

End Sub


'Event handler

     Private Sub App_EndOpen(DrawingName)

     ' This example receives an Application EndOpen event.

     ' This event occurs when IntelliCAD completes opening a drawing.

     ' To fire this event:

     ' 1) Run init() function to initialize App variable.

     ' 2) Open a drawing to completion.

     MsgBox "A drawing was opened."

End Sub

See Also

© 2022 IntelliCAD Technology Consortium. All Rights Reserved.