.NET

.NET

Reply
Member
catkinson89
Posts: 3
Registered: ‎01-03-2013
Message 1 of 6 (458 Views)
Accepted Solution

Combining multiple drawings into a single drawing

458 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.

*Expert Elite*
Alfred.NESWADBA
Posts: 9,583
Registered: ‎06-29-2007
Message 2 of 6 (448 Views)

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
-------------------------------------------------------------------------
Moderator
Alexander.Rivilis
Posts: 1,451
Registered: ‎04-09-2008
Message 3 of 6 (443 Views)

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

Valued Contributor
architectOfIdeas
Posts: 75
Registered: ‎08-10-2007
Message 4 of 6 (425 Views)

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. 

 

 

Valued Mentor
KerryBrown
Posts: 278
Registered: ‎11-29-2008
Message 5 of 6 (386 Views)

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...

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

Everything will work just as you expect it to, unless your expectations are incorrect.

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

*Expert Elite*
Alfred.NESWADBA
Posts: 9,583
Registered: ‎06-29-2007
Message 6 of 6 (376 Views)

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
-------------------------------------------------------------------------
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.