.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Stand-alone VB.NET program to create simple drawing

3 REPLIES 3
Reply
Message 1 of 4
JohnnyM77
507 Views, 3 Replies

Stand-alone VB.NET program to create simple drawing

Hello All,

I'm new to automation of AutoCAD. I've fruitlessly searched high and low for an example of how to connect to AutoCAD and create some simple drawing entities from a stand-alone VB.NET (2008) program. All examples I see are of utilities that are imported into AutoCAD and used within the parent application.

From the click of a button on a form, I wish to open a visible instance of AutoCAD and create a spline and a series of reference circles (dimensions can be hard-coded to start out). If anyone can point me to a simple sample app that demonstrates how to accomplish some of these tasks, I would greatly appreciate it.

Best regards,
John
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: JohnnyM77

Your best bet would be to ask in the VBA newsgroup, because from another
process, you must use the ActiveX API to control AutoCAD. Also look for
examples using a VB6-based standalone process.

This newsgroup focuses on the managed API for AutoCAD, which cannot be used
from another process.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6297526@discussion.autodesk.com...
Hello All,

I'm new to automation of AutoCAD. I've fruitlessly searched high and low for
an example of how to connect to AutoCAD and create some simple drawing
entities from a stand-alone VB.NET (2008) program. All examples I see are of
utilities that are imported into AutoCAD and used within the parent
application.

From the click of a button on a form, I wish to open a visible instance of
AutoCAD and create a spline and a series of reference circles (dimensions
can be hard-coded to start out). If anyone can point me to a simple sample
app that demonstrates how to accomplish some of these tasks, I would greatly
appreciate it.

Best regards,
John
Message 3 of 4
JohnnyM77
in reply to: JohnnyM77

Thanks for your reply, Tony. By "VBA newsgroup", are you referring to the "Visual Basic Customization" forum?

http://discussion.autodesk.com/forums/forum.jspa?forumID=33
Message 4 of 4
NathTay
in reply to: JohnnyM77

Yes.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost