.NET

Reply
*Paul Richardson
Message 31 of 32 (126 Views)

Re: Creating .dwg file Programmatically

02-26-2007 11:12 AM in reply to: Prakashdotc
Since Tony took the time to hold my hand through this - here is the final
version.

wrote in message news:5160771@discussion.autodesk.com...
Hi All,
How to create a .dwg file with some entity example line,
programmatically with c#, can any one help me with example please, thank's

Prakash
Distinguished Contributor
gilseorin
Posts: 177
Registered: ‎09-05-2006
Message 32 of 32 (126 Views)

Re: Creating .dwg file Programmatically

02-26-2007 11:53 AM in reply to: Prakashdotc
It's great.
I added a statement to your code below.

doc.CloseAndSave("C:\foo.dwg")

But, As I open it, the result of ZoomExtents is not realized.
I know the method 'SendstringToExcute' don't do time by time.

But, with the mind of luck......
You have the clue of the problem?
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.