Ist evtuell Bit 3 des Flags bei getfiled gesetzt?
Zitat:
aus der AutoCAD Lisp-Hilfe
8 (bit 3) If this bit is set and bit 0 is not set, getfiled performs a library search for the file name entered. If it finds the file and its directory in the library search path, it strips the path and returns only the file name. (It does not strip the path name if it finds that a file of the same name is in a different directory.)If this bit is not set, getfiled returns the entire file name, including the path name.
Ansonsten kann man noch mit (findfile "test.xyz") den kompletten Pfad ermitteln, der von AutoCAD verwendet wird.
oder eine Dateiüberprüfung machen (ist die Datei vorhanden)
mit
(findfile "c:\\DWG\\test.xyz")
[EDIT]
Entweder bin ich zu langsam, oder die Forums-Software bei CAD.de. Wenn ich Cadmiums Beitrag schon gesehen hätte, hätte ich mir die Schreiberei ja sparen können
[/EDIT]
------------------
Mit freundlichem Gruß
Udo Hübner
[Diese Nachricht wurde von CAD-Huebner am 08. Dez. 2005 editiert.]
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP