.NET

Reply
Contributor
AloyH
Posts: 12
Registered: ‎09-12-2012
Message 1 of 4 (170 Views)

EventsWatcher Sample in ObjectsARX 2013

170 Views, 3 Replies
10-17-2012 03:50 PM

I have tried to build the EventsWatcher Sample project in ObjectARX 2013 (also in 2011) but error message says Namespace 'Windows' and 'Drawings' are not in Namespace 'System' and suggest am I missing a reference. The readme file only says I have to reference two managed dlls. There are four ...Mgd.dll in the inc folder. Which are the once I should reference?.

Thanks for any help.

AloyH

Valued Mentor
KerryBrown
Posts: 272
Registered: ‎11-29-2008
Message 2 of 4 (163 Views)

Re: EventsWatcher Sample in ObjectsARX 2013

10-17-2012 04:54 PM in reply to: AloyH

 

I just built the project from the SDK without issue.

Did you open the  EventsWatcher.csproj file in visual studio ??  .. or one of the .cs files ?

 

for info, the AutoCAD dlls referenced are

...\ObjectARX 2013\inc\accoremgd.dll

...\ObjectARX 2013\inc\acdbmgd.dll

...\ObjectARX 2013\inc\acmgd.dll

 

the others you mention are

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll

 

Regards

 

//-------------------------------------------------------

class keyThumper<T> : Lazy<T>;      another  Swamper

Contributor
AloyH
Posts: 12
Registered: ‎09-12-2012
Message 3 of 4 (141 Views)

Re: EventsWatcher Sample in ObjectsARX 2013

10-18-2012 04:14 AM in reply to: AloyH

Thank you very much Kerry. Your info helped a lot. There are eight .Net events and I am trying to find examples of implimenting them. Any location where I can find them?

Regards,

AloyH

Valued Mentor
KerryBrown
Posts: 272
Registered: ‎11-29-2008
Message 4 of 4 (138 Views)

Re: EventsWatcher Sample in ObjectsARX 2013

10-18-2012 04:52 AM in reply to: AloyH

AloyH wrote:

<..>  There are eight .Net events and I am trying to find examples of implimenting them. Any location where I can find them?

Regards,

AloyH


 

Depends what they are :smileyhappy:

 

Have you seen

http://adndevblog.typepad.com/autocad/2012/04/dwg-debugger-mgddbg-app-for-autocad-20122013.html

//-------------------------------------------------------

class keyThumper<T> : Lazy<T>;      another  Swamper

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.