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

    .NET

    Reply
    Member
    Posts: 3
    Registered: ‎01-03-2013
    Accepted Solution

    Combining multiple drawings into a single drawing

    220 Views, 5 Replies
    01-03-2013 11:22 AM

    Hello,

    I'm fairly new to the AutoCAD API for .NET, and for the last month or so I've been googling about, looking for comprehensive documentation on the Autodesk API (their equivalent of man pages). I've yet to find anything that describes each method and class in the API, so I turn to these forums for help.

    My goal is this: I'm trying to figure out how to copy the contents of all drawings in the same directory into a single dwg file. Has anyone done this before, and if so, what subsets of the AutoCAD API should I use to do so?

    I'm not asking someone to write this for me, only to point me in the right direction.

    On a sidenote, If anyone has knowledge of where to find complete documentation for the API, I'd appreciate it.

    Please use plain text.
    *Expert Elite*
    Posts: 6,635
    Registered: ‎06-29-2007

    Re: Combining multiple drawings into a single drawing

    01-03-2013 11:43 AM in reply to: catkinson89

    Hi,

     

    I guess >>>that blog<<< contains the information (and most of the code) you look for :smileywink:

     

    >> where to find complete documentation for the API

    The most complete documentation you'll find by downloading the ObjectARX-kit (from >>>here<<<, free, but to register). If it's just dotNET API (without a little left or right) you find it >>>here<<<. That is for 2010 (so ok for start), I haven't found an online-docu for 2013 yet.

     

    - alfred -

    -------------------------------------------------------------------------
    Alfred NESWADBA
    Ingenieur Studio HOLLAUS ... www.hollaus.at
    -------------------------------------------------------------------------
    Please use plain text.
    Moderator
    Alexander.Rivilis
    Posts: 1,178
    Registered: ‎04-09-2008

    Re: Combining multiple drawings into a single drawing

    01-03-2013 12:07 PM in reply to: catkinson89

    In addition that Alfred said I want to add this highly useful link to the blog: http://adndevblog.typepad.com/autocad

    Insert Block from a different DWG using .NET

    Adding an xref to a drawing (and converting attachments to overlays)

     


    Пожалуйста не забывайте про Утвердить в качестве решения!Утвердить в качестве решения и Give Kudos!Баллы
    Please remember to Accept Solution!Accept as Solution and Give Kudos!Kudos

    Please use plain text.
    Active Contributor
    metalonmetal
    Posts: 45
    Registered: ‎08-10-2007

    Re: Combining multiple drawings into a single drawing

    01-03-2013 01:37 PM in reply to: catkinson89

    i refer to the exchange quite a bit! it has great explanations of the api. it really helped me wrap my head around the use of the transaction manager and opening and closing objects. 

     

     

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

    Re: Combining multiple drawings into a single drawing

    01-05-2013 07:42 PM in reply to: alfred.neswadba

    alfred.neswadba wrote:

    Hi,

    < .. >  If it's just dotNET API (without a little left or right) you find it >>>here<<<. That is for 2010 (so ok for start), I haven't found an online-docu for 2013 yet.

     

    - alfred -



    Alfred, This is the only one I've been able to find

    http://docs.autodesk.com/ACD/2013/ENU/index.html?url=files/GUID-4E1AAFA9-740E-4097-800C-CAED09CDFF12...

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

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


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

    Please use plain text.
    *Expert Elite*
    Posts: 6,635
    Registered: ‎06-29-2007

    Re: Combining multiple drawings into a single drawing

    01-06-2013 01:07 AM in reply to: KerryBrown

    Hi Kerry,

     

    thanx for the link!

     

    @Autodesk: also here the table of contents is missing and I think a wish from everyone using it!

     

    - alfred -

    -------------------------------------------------------------------------
    Alfred NESWADBA
    Ingenieur Studio HOLLAUS ... www.hollaus.at
    -------------------------------------------------------------------------
    Please use plain text.