IntelliCAD 11.1 Object Library
EndLisp Event
See Also 
Application Object : EndLisp Event

Description

Occurs when evaluating of a LISP expression completed.

Syntax

Visual Basic
Public Event EndLisp()

Remarks

Note that BeginLisp occurs when evaluation of the LISP expression begins.

Example

The following example illustrates using the EndLisp event with an Application object. To use the EndLisp event with a Document or 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_EndLisp()

     ' This example receives an Application EndLisp event.

     ' This event occurs when evaluation of a LISP expression is completed.

     ' To fire this event:

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

     ' 2) Run a LISP expression to completion.

     MsgBox "A LISP expression is finished."

End Sub

See Also

© 2022 IntelliCAD Technology Consortium. All Rights Reserved.