Hello there everyone!
I'm currently (still) working on the Lisp side of an interface to read information from .dwg files to a custom file. You could say the custom file i produce is a kind of reduced/formated dxf file. I know what a lot of you might think now, but no, simply making a .dxf file out of the dwg is not an option.
The actual Lisp is running on BricsCAD.
SO! the current issue:
I'm using a copy and paste method to convert SAT-entities to inserts, which worked pretty fine so far, but now I'm getting these lines:
CAD 2 File aufgerufen
: ._COPYBASE
Basispunkt wählen:
Objekte wählen, die in die Zwischenablage kopiert werden sollen:
1 gefunden.
Objekte im Satz: 1
Objekte wählen, die in die Zwischenablage kopiert werden sollen:
: ._PASTECLIP
:
Gegenüberliegende Ecke: ._COPYBASE
Eingabe wurde nicht erkannt. Bitte versuchen Sie es nocheinmal.
Gegenüberliegende Ecke:
:
:
: ÖFFNEN
Name der Zeichnung: ._PASTECLIP
Die angefragte Datei wurde nicht gefunden.: "._PASTECLIP.dwg"
:
Gegenüberliegende Ecke: ._COPYBASE
Eingabe wurde nicht erkannt. Bitte versuchen Sie es nocheinmal.
Gegenüberliegende Ecke:
:
:
: ÖFFNEN
Name der Zeichnung: ._PASTECLIP
Die angefragte Datei wurde nicht gefunden.: "._PASTECLIP.dwg"
:
Gegenüberliegende Ecke: ._COPYBASE
Eingabe wurde nicht erkannt. Bitte versuchen Sie es nocheinmal.
Gegenüberliegende Ecke:
:
:
: ÖFFNEN
Name der Zeichnung: ._PASTECLIP
Die angefragte Datei wurde nicht gefunden.: "._PASTECLIP.dwg"
:
Gegenüberliegende Ecke: !!!DXF-Daten exportiert!!!
I'll translate the most important for those of you, who don't understand the German gibberish:
: ÖFFNEN
Name der Zeichnung: ._PASTECLIP
Die angefragte Datei wurde nicht gefunden.: "._PASTECLIP.dwg"
:
Gegenüberliegende Ecke: ._COPYBASE
Eingabe wurde nicht erkannt. Bitte versuchen Sie es nocheinmal.
Gegenüberliegende Ecke:
==
: Open
Name of the drawing: ._PASTECLIP
The called file was not found.: "._PASTECLIP.dwg"
:
Opposing Corner: ._COPYBASE
Entry not identified. Please try again.
Opposing Corner:
I do understand that there is no ""._PASTECLIP.dwg" file anywhere and that ._COPYBASE can't be an opposing corner. What confuses me is, where in my code do I call for a file? I have to admit, that I found the copy-paste-concept routine on a Forum.
Now here's the code, which propably produces my Problem:
(defun convertData
(convList
/ step convList enlist en entTyp
) (convSATData)
(convSATData)
(convSATData)
(convSATData)
(convBlkData)
)
)
)
)
)
)
)
);;; -
(defun convBlkData
(/ enlist sublist
(convertData subList)
)
;;; -
(command "._COPYBASE" '
(0.0 0.0 0.0) en
"") (command "._PASTECLIP" '
(0.0 0.0 0.0)) )
Given, that convertData first is called with a list of entities. Now I suspect the way I call convSATData to be the source of all evil here. I'll also attach the original file, where I got the copy paste Thing from.
Thanks for the help everyone!