.NET

Reply
Valued Contributor
rtejada
Posts: 61
Registered: ‎06-19-2002
Message 1 of 2 (72 Views)

event fires twice

72 Views, 1 Replies
09-30-2005 11:03 AM
I am runing a dot net class application (dll extension) automatically when the autocad application start by adding a following lines on the acaddoc.lsp file

(defun S::smileyfrustrated:TARTUP()
(command "NETLOAD" "d:\\My Documents\\Visual Studio Projects\\myapp\\bin\\myapp.dll")
)


My problem is that drawing events in the application like begindocclose are executed twice instead of once.

Can it be avoided?

Thanks for your help
*Tony Tanzillo
Message 2 of 2 (72 Views)

Re: event fires twice

09-30-2005 01:13 PM in reply to: rtejada
If events are firing more than once, it is most
likely a problem in your code, probably adding
the handler more than once.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:4972410@discussion.autodesk.com...
I am runing a dot net class application (dll extension) automatically when the autocad application start by adding a following lines on the acaddoc.lsp file

(defun S::smileyfrustrated:TARTUP()
(command "NETLOAD" "d:\\My Documents\\Visual Studio Projects\\myapp\\bin\\myapp.dll")
)


My problem is that drawing events in the application like begindocclose are executed twice instead of once.

Can it be avoided?

Thanks for your help

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
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

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

Ask the Community