Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP & AutoCAD
Message
 
À
30/08/1996 06:39:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00006887
Message ID:
00007260
Vues:
58
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform