I have 2 picture buttons absolutely identical. With the same code to run. Both buttons have event envoke 1.
(DEFUN c:menu_Plan_GraphicButton6_OnClicked ()
(c:myfun)
(PRINC)
)
(DEFUN c:menu_Plan_GraphicButton7_OnClicked ()
(c:myfun)
(PRINC)
)
and this is what i get i command line in autocad
Command: ; error: too few arguments <--- this do not run
Command: ; error: no function definition: C:myfun <--- this error because the lisp is not loaded, it runs ok if it is lisp is loaded.
help me plz, a wasted half a day on this allready.
Thanks a lot