Hello,
i would like ask somebody for consultation about writing larger applications for ICAD.
We have developed application for AutoCAD, and we are trying to transfare it to ICAD. But we found one general problem. ICAD works very slow with list of many items - hundreds, thousands. E.g. use "append", "nth", "length", functions takes very long time comparing to AutoCAD.
Does somebody experiences with this problem?
Thanks a lot for replay
Lukas Pavlis
#4
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by user700512:
It is unbearably slow!!! I have the same problem. E.g. tracing a polyline just to place a block over a specific vertex, or to retrieve a polyline's start/end-points & compare do they coincide with other polylines' start/end-points takes forever to complete... AutoCAD does it in a blink of one's eye...<HR></BLOCKQUOTE>
Could you please detail the problem? Do you use LISP script? Or SDS app? something else?
It is unbearably slow!!! I have the same problem. E.g. tracing a polyline just to place a block over a specific vertex, or to retrieve a polyline's start/end-points & compare do they coincide with other polylines' start/end-points takes forever to complete... AutoCAD does it in a blink of one's eye...<HR></BLOCKQUOTE>
Could you please detail the problem? Do you use LISP script? Or SDS app? something else?
#5
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Denis:
<B> Could you please detail the problem? Do you use LISP script? Or SDS app? something else?
</B><HR></BLOCKQUOTE>
I wrote it regarding LISP. I may try to extract from the whole AutoLISP code I have adapted for IntelliCAD already & post it for self-test by others, but I'm afraid it may be too big. In brief, I am scanning a selected by user polyline, does it have at its start/end points another adjacent polyline (end points coinciding); if yes - the same for the 2nd polyline etc. until all polylines that form the 'chain' are isolated. Then I insert speciffic predefined blocks at the start point of the 1st polyline, the end point of the last polyline and at each 2nd vertex of the polylines between them. In a very simple case like 5 adjacent polylines with a total of 100 vertices this procedure takes more than 1 minute to complete. In AutoCAD I can't take any time shot - it appears instant. I'm talking about comparing ICAD/ACAD on the same PC at the same time...
<B> Could you please detail the problem? Do you use LISP script? Or SDS app? something else?
</B><HR></BLOCKQUOTE>
I wrote it regarding LISP. I may try to extract from the whole AutoLISP code I have adapted for IntelliCAD already & post it for self-test by others, but I'm afraid it may be too big. In brief, I am scanning a selected by user polyline, does it have at its start/end points another adjacent polyline (end points coinciding); if yes - the same for the 2nd polyline etc. until all polylines that form the 'chain' are isolated. Then I insert speciffic predefined blocks at the start point of the 1st polyline, the end point of the last polyline and at each 2nd vertex of the polylines between them. In a very simple case like 5 adjacent polylines with a total of 100 vertices this procedure takes more than 1 minute to complete. In AutoCAD I can't take any time shot - it appears instant. I'm talking about comparing ICAD/ACAD on the same PC at the same time...
#6
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by davep:
You are correct. IntelliCAD handles some items a lot slower that AutoCAD. The best way to solve the problem is to re-write the program using SDS (c++). This works very well.<HR></BLOCKQUOTE>
Could you possibly name some tools for LISP -> C++ conversion???
You are correct. IntelliCAD handles some items a lot slower that AutoCAD. The best way to solve the problem is to re-write the program using SDS (c++). This works very well.<HR></BLOCKQUOTE>
Could you possibly name some tools for LISP -> C++ conversion???
#8
good, but c++ is not my fiancée, i'm blank there...
anyway, it's not only the lisp interpreter that sucks. there's a whole bunch of serious discrepancies & bugs that make my mind up on waiting a few years for this creature to evolve from an embryo to a fetus...
[This message has been edited by user700512 (edited 11-06-2002).]
anyway, it's not only the lisp interpreter that sucks. there's a whole bunch of serious discrepancies & bugs that make my mind up on waiting a few years for this creature to evolve from an embryo to a fetus...
[This message has been edited by user700512 (edited 11-06-2002).]