.NET

Reply
Valued Contributor
61 Posts
0 Kudos
Registered: ‎06-19-2002
Post 1 of 2

event fires twice

81 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
Post 2 of 2

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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post