Results 1 to 7 of 7

Thread: Interface to Autocad Using Visual Basic

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Location
    Hyderabad
    Posts
    3

    Interface to Autocad Using Visual Basic

    Is it better to use APIs or any other way is there for interfacing Autocad with VB i:e., by sending the required parameters from vb generating drawings in autocad, and showing the generated drawings in vb controls
    DVHPrashanth
    CMC Ltd, Hyderabad

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    See if these do anything for you.

    http://www.codehound.com/vb/results/...=autocad&V=203

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    AutoCAD is an OLE Automation server just like Office. That means with VB you can set a reference to it and work with it pretty easily.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    At the risk of sounding like a complete moron (and of course, that never happens ), whats AutoCAD? Is it some kind of Office product I don't know about?

  5. #5
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    One of the most popular Computer Aided Drafting program, used by Engineers, Architects, etc. US$2500 drawing program.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  6. #6
    jim mcnamara
    Guest
    AutoCAD also has a VBA option. You can write your own scripts.

  7. #7
    Junior Member
    Join Date
    Jul 2002
    Posts
    23

    AutoCAD and VB

    If you are interested in AutoCAD and VB check www.opendwg.org and www.vbdesign.net
    DXF is a text file so you can create it in VB. The OpenDWG have a dxf to dwg converter.
    I've done this a couple of times in the past

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width