• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Contributor
    Posts: 12
    Registered: ‎09-12-2012

    EventsWatcher Sample in ObjectsARX 2013

    122 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

    Please use plain text.
    Valued Mentor
    KerryBrown
    Posts: 259
    Registered: ‎11-29-2008

    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


    I do not endorse the social media app links below:smileyembarrassed:

    Please use plain text.
    Contributor
    Posts: 12
    Registered: ‎09-12-2012

    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

    Please use plain text.
    Valued Mentor
    KerryBrown
    Posts: 259
    Registered: ‎11-29-2008

    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


    I do not endorse the social media app links below:smileyembarrassed:

    Please use plain text.