Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - babadmin

Pages: 1 ... 3 4 [5] 6 7
General discussion about BabaCAD / Re: Missing Lisp commands
« on: April 24, 2016, 02:15:18 pm »
You're almost right. Commands atof, rtos and read are not on the list, but there are few functions added in the last release of list module (2016):

~ (bitwise not operator)

Also you can call ssget "X" with filter. For example you can select just ARC entities in drawing:
(SETQ ss (SSGET "X" (list '(0 . "ARC")))

There is good example which have new functions, and that was my anwser to one croatian user, so it is on bosnian version of this forum (just scroll down to copy lisp function bcount). It's about counting all blocks in drawing

General discussion about BabaCAD / Re: Show Statup end
« on: April 24, 2016, 01:48:57 pm »
You're absolutely right. I rarely test BabaCAD on older machines so I can't see that delay. It can go up to 4-5 secs on older PC, and it's caused by low hard disk speed as BabaCAD is loading hatch patterns from text file bcad.pat which is located in /Support subfolder.

I had one idea a long time ago for this and I think it's the best solution. I will add semaphore event in hatch loading, so mouse will get response every 200 or 300 ms. User will see mouse is moving, just with short breaks until all hatch patterns are loaded.

Good tip, thank you. Will add this in next release. I also think about saving toolbar position data in registry, but after your comment about running BabaCAD as portable, you are right, it's better to save this data to .ini file.

Thanks for good suggestions

It's not a bad idea, but for now you can open one  .lsp file in explorer using right click and OpenWith... and then check "Always use .. to open this file type". After this just double click to open .lsp files in notepad, wordpad or custom text editor.


General discussion about BabaCAD / Re: EED-support ?
« on: April 24, 2016, 01:25:00 pm »
EED (ExtendedDataEntity) is supported in BabaCAD extension modules .bem (you can see this feature on GIS section in home website, there are modules which add extension data on polylines, GIS data).

I will also think about adding EED support as lisp functions also.

General discussion about BabaCAD / Re: Running Babacad from Stick
« on: April 24, 2016, 01:18:23 pm »
Yes, BabaCAD can run as portable app cause it use no additional resources from system ones it is installed. Delay of about 2 sec after start is caused by loading hatch patterns from bcad.pat file which is located in Support folder (everyone can test this, just open bcad.pat in text editor and delete all except few pattern definitions, and then restart BabaCAD).

I never thought of BabaCAD as portable app, but it's fro sure 100% portable, and I suppose that you a not the only one who realized that, but first who mention that fact on this forum.

I searched on google and find no pro CAD software on Windows portable app list. I hope someone will edit wiki page and add BabaCAD to this list:

Greetings to all BabaCAD users

General discussion about BabaCAD / Re: lisp
« on: April 04, 2016, 09:18:36 am »
Hi Fred,

I've tried to find pc with windows vista 64 to test if that failure is caused by vista, but I could not find any. If anyone with vista 64 find same error msg, please write on this forum or contact the author.

General discussion about BabaCAD / Re: edit object properties
« on: February 23, 2016, 01:58:49 pm »
It's known bug. It's now fixed and will not exist in upcoming BabaCAD v1.35 which can be expected in March 2016.

There are also few more bugs fixed:

 - ellipse command
 - raster image save
 - some saved dxf drawings cannot be opened in autocad

There are some new features like drawing spline, layout export to image, lisp updated and more...

General discussion about BabaCAD / Re: Using SphereUnf.vlx
« on: February 22, 2016, 09:13:30 am »
I think that you have to use rip feature if you want to convert a solid to sheet metal objects. This feature must exists in professional 3D CAD like Inventor or Solidworks (if price is not problem; as I remember, it goes from 5,000 to 10,000 US$ for one standalone license).

General discussion about BabaCAD / Re: Using SphereUnf.vlx
« on: February 20, 2016, 06:23:27 pm »
Sorry, but you can't make it work with current BabaCAD version, cause it's still 2D only, and Sphere is 3D object. BabaCAD 3D is still in development phase.

Ovaj gore lisp koji ste nasli ce vam raditi bez problema, upravo sam ga testirao. Potrebno je samo da download-ate novu verziju LISP extension modula za babacad (v1.0.5 od 15.Feb-2016). Inace, BabaCAD lisp format je isti kao i autocad autolisp, samo sto su nedostajale neke funkcije pa onda neki lisp fajlovi nisu radili.

Nadam se da cu imati vremena da dodam i preostale lisp funkcije (ostalo ih je svega nekoliko, uglavnom vl,vla i vlx funkcije i mapcar) koje nedostaju i onda mislim da ce vecina autolisp fajlova koje nadjete na netu raditi na babacad-u isto kao i na autocad-u.

Funkcije koje su dodate u zadnjoj verziji Lisp modula bice dodate na listu u lisp syntax sekciji, a to su COND,VL-REMOVE,VL-REMOVE-IF,VL-REMOVE-NTH,LAST,REVERSE,MEMBER,TBLNEXT,LOGAND,LOGIOR,~ bitwise not operator i jos neke... Takodje se sad ssget "X" moze pozivati sa filterom. Npr. kad hocete selektirati sve ARC entitete u crtezu pozivate (SETQ ss (SSGET "X" (list '(0 . "ARC")))

Uopsteno o BabaCAD-u / Re: Problemi sa Lispom
« on: January 26, 2016, 02:50:55 pm »
Ne morate gubiti vrijeme, evo lispa za ukupan broj blokova (samo snimite dole datu funkciju u blkcount.lsp fajl i ucitajte sa appload ili ga kopirajte u \Program Files (x86)\BabaCAD\BabaCAD\Support\Lisp i dodajte u bcad.mnu fajl ispod **LISP sekcije  sljedeci red: lisp\blkcount.lsp kako bi se ucitavao automatski na startanju BabaCAD-a.

(defun c:blkcount (/ ss ind en bnum entype)
 (setq ss (ssget "X"))
 (setq ind 0)
 (setq bnum 0)
 (while (setq en (entget (ssname ss ind)))
  (setq entype (cdr (assoc 0 en)))
  (if (eq entype "INSERT")
    (setq bnum (+ bnum 1))
  (setq ind (+ ind 1))
 (princ (strcat "Total num of blocks: " bnum))

Uopsteno o BabaCAD-u / Re: Problemi sa Lispom
« on: January 23, 2016, 07:18:35 pm »
Lisp za BabaCAD sadrzi osnovni set Lisp funkcija (nekih 70-80% AutoLISP funkcija bez activex funkcija vl, vla, vlax). Kompletna lista podrzanih funkcija moze se naci na

Ako se neki AutoLISP ne moze pokrenuti, to je najverovatnije sto lisp skripta (.lsp) sadrzi neku od funkcija koja nije trenutno podrzana. Probajte nadomjestiti tu funkciju sa nekim od vecih postojecih, ili probajte napraviti .bem modul pomocu BabaCAD c++ API podrske (mozete procitati o .bem modulima i kako se programiraju na pa onda u meniju na Extension Modules).

Lisp ce biti nadogradjivan te je zato dat kao poseban ekstenzijski modul. U medjuvremenu, ako vas interesuje samo racunanje duzina polilinija, skinite ESRI Shape modul za babacad (idite na Extension modules na Ovaj modul ima jednu komadnu za racunanje ukupne duzine svih selektiranih polilinija (komanda LENSUM ili nesto slicno).

I found what is cause of failure. Oracle Client 32-bit occi file oraocci11.dll .There are three different versions of this file. Older installations of Oracle Client 11.2 have only first two versions compiled for Visual Studio vc8 and Visual Studio vc9. You can find it in and subfolders. But correct version for BabaCAD (which is compiled with Visual Studio 2010) is missing and that's in ../vc10 subfolder of oracle client installation. You can try to find newer (after dec 2010) installation of Oracle Client 11.2 and check for subfolder /vc10 and copy oraocci11.dll to parent folder (


2. My mistake. I wrote oraocci32.dll but it has to be oraocci11.dll. But size is not correct. When you go to properties->version it must be and size of dll must be 508 kb. Maybe you have 64-bit version of dll. Check that your Oracle Client is 32-bit and not 64-bit. I will send you oraocci11.dll zip-ed to your mail (edit your mail in forum registration if it's not right and notify me) in case you have right 32-bit oracle client.


Pages: 1 ... 3 4 [5] 6 7