ttray33y 发表于 2022-7-5 19:44:43

Lisp command + ObjectDBX

Hi to all, I have a question for today regarding, if this is doable.
 
calling a lisp command (already loaded) + ObjectDBX?
 

(defun c:sample ( / )   (LM:ODBX   (pp) ;;custom command       nil      nil   ))
 
I am currently studying ODBX and VLisp.

Tharwat 发表于 2022-7-5 20:07:39

AFAIK commands are not allowed to be used in DBX , replace the command with entmake(x) , vla-* functions or vlax-invoke to be able to add or create the objects you want.

ttray33y 发表于 2022-7-5 20:32:08

 
definitely, btw tnx.
now back to my keyboard.

Tharwat 发表于 2022-7-5 20:57:06

 
Good luck
页: [1]
查看完整版本: Lisp command + ObjectDBX