.NET

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

event fires twice

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

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.