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

    .NET

    Reply
    New Member
    Posts: 2
    Registered: ‎04-07-2012

    Autocad .NET C# book

    1243 Views, 8 Replies
    04-07-2012 02:31 AM

    Hello everyone,

     

    I decided to develop an autocad plugin program with C#. However, altough I did big search on the web I couldn t find an Autocad .NET  C# book. I have seen the visual basic one and bought it but I want to develop  with C# so VB book is insufficent for me. So my first question is is there any Autocad.net C# book I can download. Second question is while I am developing my program I sometimes need someone to explain how to use component of Autocad .NET architecture (i.e. a class or a method of autocad) to accomplish my task. So, do you think Autocad developers network ( gold or other ) subscriptions could help me ?

     

    Thanks in advance for all your replies.

    Please use plain text.
    Valued Contributor
    Posts: 64
    Registered: ‎04-04-2012

    Re: Autocad .NET C# book

    04-08-2012 05:42 PM in reply to: serkancng

    Hi,

     

    I am also new to ObjectARX .NET and currently developing with C#.

    I also couldn't find any reference book. :smileysad:

    The below links are what I used when I started.

     

    - Video demo of AutoCAD .NET Programming

    http://download.autodesk.com/media/adn/DevTV_Introduction_to_AutoCAD._NET_Programming/

     

    - The blog of Kean Wamsley, who work for AutoCAD.

    http://through-the-interface.typepad.com/through_the_interface/2010/04/adding-to-autocads-applicatio...

     

    Cheers,

     

    Jake

    Please use plain text.
    *Expert Elite*
    chiefbraincloud
    Posts: 736
    Registered: ‎02-13-2008

    Re: Autocad .NET C# book

    04-09-2012 11:22 AM in reply to: serkancng

    I have always been able to figure out what I needed, either on my own, or by searching the RSS feed for Kean Walmsley''s very excellent blog. (link provided in previous post)

     

    There are also several helpful and knowledgeable people active in this discussion group, of which I would like to think I am one.

     

    So, as to your question about ADN membership, I am a member (Standard level), and I have had a couple of issues that I was able to resolve by searching the Knowledge Base, but the primary reason I am a member is for the developer licenses.  The ADN membership is cheaper than just one license for one version of AutoCAD, but with the membership, I can get developer licenses for all Autodesk products that expose a programming API (not the media and entertainment products), including previous releases.

     

    That alone makes it worth it in my book, but it may depend on your situation.  If you plan to be programming for AutoCAD products for any length of time, or supporting multiple versions, including different year releases and the different products (Arch, Civil, Mechanical...) then I would say it is definitely worth it.

    Dave O.                                                                 Sig-Logos32.png
    Please use plain text.
    Contributor
    Dasharnb777
    Posts: 14
    Registered: ‎02-22-2012

    Re: Autocad .NET C# book

    04-09-2012 01:18 PM in reply to: serkancng

    My suggestions just would only with thing that help me mostly:

    1. AutoCAD .NET Developers Guide - Theory and examples;

    2.This forum. Here are a lot of existing topics that can be helpful. Also you can create your one;

    3. Google - and where do without it :smileywink:?

     

    Please use plain text.
    New Member
    Posts: 1
    Registered: ‎11-17-2012

    Re: Autocad .NET C# book

    11-17-2012 11:17 PM in reply to: serkancng

    Hi,

     

    i am a newbie to autocad programming. I am plannig to automate the drawing of civil strucutres using C#. Could any one give me the steps, prerequisites and developement tools required to start coding.

     

    Thanks in advance for your replies.

     

    Thanks,

    Ravi.

    Please use plain text.
    *Expert Elite*
    Hallex
    Posts: 1,371
    Registered: ‎10-08-2008

    Re: Autocad .NET C# book

    11-18-2012 06:22 AM in reply to: kvrravitheja

    This bloq might be interesting for you,

    take look at:

    http://blog.civil3dreminders.com/

    _____________________________________
    C6309D9E0751D165D0934D0621DFF27919
    Please use plain text.
    Member
    Posts: 5
    Registered: ‎11-17-2012

    Re: Autocad .NET C# book

    11-18-2012 04:35 PM in reply to: kvrravitheja

    From here....

     

     

    If I am understanding you correctly, you're wanting to know how to setup a Visual Studio project for use with Civil 3D? :notsure:

    First, you might consider this post on how to get started, then consider creating yourself a secondary template (in addition to those supplied by one of the .NET wizards listed), which includes a reference to the AecBaseMgd.dll, and AeccDbMgd.dll assemblies in order to access the Civil 3D specific APIs.

     

    HTH :beer:

    "A bad mood is like bad breath. Nobody likes a person with bad breath" - Prager
    "First tell the truth, then give your opinion" - Prager
    "One who is offended by truth, has no place among those who seek wisdom" - RenderMan
    Please use plain text.
    Member
    Posts: 5
    Registered: ‎11-17-2012

    Re: Autocad .NET C# book

    11-18-2012 04:40 PM in reply to: _RenderMan

    Also, to the question of a good book for learning C#... While not AutoCAD specific, I am greatly enjoying Andrew Troelsen's book "Pro C# 2010 and the .NET 4 Platform."

    "A bad mood is like bad breath. Nobody likes a person with bad breath" - Prager
    "First tell the truth, then give your opinion" - Prager
    "One who is offended by truth, has no place among those who seek wisdom" - RenderMan
    Please use plain text.
    *Expert Elite*
    Posts: 3,114
    Registered: ‎07-22-2003

    Re: Autocad .NET C# book

    11-19-2012 06:24 AM in reply to: kvrravitheja

    For more specific questions relating to Civil3D development, there is the Civil3D customization forum.

    Jeff_M, also a frequent Swamper
    Please use plain text.