IntelliCAD 11.1 Object Library
BeginLisp Event
See Also 
FirstLine
The LISP expression. Enter the LISP expression with exact capitalization. If the LISP expression begins with a C: prefix, include the prefix, for example (C:myLISP).
Application Object : BeginLisp Event

Description

Occurs when receives a request to evaluate a LISP expression.

Syntax

Visual Basic
Public Event BeginLisp( _
   ByVal FirstLine As String _
)

Parameters

FirstLine
The LISP expression. Enter the LISP expression with exact capitalization. If the LISP expression begins with a C: prefix, include the prefix, for example (C:myLISP).

Example

The following example illustrates using the BeginLisp event with an Application object. To use the BeginLisp 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_BeginLisp(FirstLine)

     ' This example receives an Application BeginLisp event.

     ' This event occurs when evaluation of a LISP expression begins.

     ' To fire this event:

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

     ' 2) Start a LISP expression.

     MsgBox "Evaluation of a LISP expression has begun."

End Sub

See Also

© 2022 IntelliCAD Technology Consortium. All Rights Reserved.