• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Active Member
    mikecarrico7670
    Posts: 8
    Registered: ‎11-26-2010
    Accepted Solution

    BeginLISP .net Equivalent

    91 Views, 2 Replies
    06-18-2012 06:38 AM

    I would like to monitor users to get an idea as to which LISP routines are being used in ACAD for cleanup and utilization purposes.  It appears that VBA had a beginlisp event that could be used to handle this, but I can't seem to find any documentation on a similar event or its inclusion in vb.net.  Has anyone found an event that could be used to accomplish this or have any suggestions? Note that I would like to monitor all LISP functions, not a single function. Thanks.

    Please use plain text.
    Distinguished Contributor
    Posts: 701
    Registered: ‎01-24-2003

    Re: BeginLISP .net Equivalent

    06-18-2012 08:45 AM in reply to: mikecarrico7670

    You can still access all the COM stuff through the AcadApplication object.

    Please use plain text.
    Active Member
    mikecarrico7670
    Posts: 8
    Registered: ‎11-26-2010

    Re: BeginLISP .net Equivalent

    06-18-2012 08:46 AM in reply to: mikecarrico7670

    Solved: BeginLisp is still an even that that can be used for the Acaddocument class via the function call:
    "Private Sub LispMonitor(ByVal firstline As String) Handles doc.BeginLisp"

    where doc is listed as an Acaddocument variable WithEvents.

     

    Also, there is an event for the Document class called LispWillStart which I imagine works similarly.  Thanks.

    Please use plain text.