.NET

Reply
Active Member
mikecarrico7670
Posts: 8
Registered: ‎11-26-2010
Message 1 of 3 (127 Views)
Accepted Solution

BeginLISP .net Equivalent

127 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.

Distinguished Contributor
Posts: 701
Registered: ‎01-24-2003
Message 2 of 3 (115 Views)

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.

Active Member
mikecarrico7670
Posts: 8
Registered: ‎11-26-2010
Message 3 of 3 (114 Views)

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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community