Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AutoCad and VFP6
Message
From
17/05/2000 14:22:10
 
General information
Forum:
CAD
Category:
Other
Miscellaneous
Thread ID:
00361391
Message ID:
00370392
Views:
19
VFP6 can run ACAD directly - thru activeX

This is the code for ACAD2000, ACAD14 does not have a Documents collection

this.oAcadApp = CreateObject("AutoCAD.Application")
this.oAcadDoc = this.oAcadApp.Documents
= this.oAcadDoc.Open(cFileName,lReadOnly)

if there is a chance ACAD is open use

this.oAcadApp = getobject(,"AutoCad.Application")

and trap the error if it is not, opening it with
this.oAcadApp = CreateObject("AutoCAD.Application")

>I am not a specialist in this domain but there is ways.
>
>One-way is to use the Run command in VFP to call AutoCad with the scrip to run in AutoCAD.
>
>The scrip for AutoCAD can then call Lisp procedure to do tasks.
>
>>I am quite ignorant in the ways of all of this so here are my basic questions.
>>
>>I have a pretty strong background in AutoCAD and somewhat capable in VFP but don't know how to mix the two. How do I open and manipulate a drawing from VFP6? That's probably enough for now...
Best Regards
Don Simpson
Previous
Reply
Map
View

Click here to load this message in the networking platform