Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help!!!!!!

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,

I want to know is there any sites where i can reffer for
getting the interaction VB with AUTOCAD 14

Thanks,
Shalini
 
You should create an account here so that you can be notified when your questions have been answered. Best of all, it's free.

I have not seen any sites or books on this topic. I am not sure about R14, but AutoCAD 2000 has a complete VBA reference help file. This will get you 99% of the code you will need to automate AutoCAD. If you are writing a separate VB app then just use this to attach to the AutoCAD application.

Dim cadApp as Object

On Error Resume Next

Set cadApp = GetObject(,"AutoCAD.Application")

If Err.Number <> 0 Then 'AutoCAD was not running
Err.Clear
Set xlApp = CreateObject(&quot;AutoCAD.Application&quot;)
End If

On Error GoTo ErrHndlr

The majority of my job is automating SolidWorks and AutoCAD for our engineering department. Let me know if you have any specific questions.

Also, if you do find any sites on this topic, please post them here or at Eng-Tips.com in the AutoCAD forum.

Hope this helps!
 
Hi,

Does anyonw know how to interact VB5 and solidworks2000??

thanks in advance,
JB
 
John:

Yes I do! I have already automated the design of many of our product components (about 150 parts). I spend almost half of my time automating SolidWorks. Although I use VB6, the SolidWorks object library will work with VB5 as well.

Do you have a specific question?
[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top