Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP & AutoCAD
Message
 
To
30/08/1996 06:39:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00006887
Message ID:
00007260
Views:
59
>>>I'm developing an application in VFP that creates a partlist from a material database. At the moment the user has to enter the full path and name of the Autocad (v.13c4 Windows) drawing they are working on. Is there a way to determine what this programmatically? This application should run while AutoCAD is active.
>>>
>>>Michel
>> Michel, I don't know if what you want is to avoid entering
>>the path, if that is the case, look the function GETFILE()
>>under help, this function give you the "File open Dialog Box"
>>and return the path of the file choosen.
>>Hope this help.
>>Good luck.
>
>That ain't exactly what I mean. I'm looking for a way to let VFP know what is the actual drawing in Autocad. Maybe there is an API/DDE call or something like that.
>
>Michel
Ok! now I got you Michel, the only thing that I have
in mind is to make a function in LISP or maybe a macro
in Autocad that writes to a file the name of your
drawing, then Fox can look at that file and
take the name from it.
Hope this help help.
Good luck.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform