(slide_image) is working???
Posted: Sun Aug 19, 2001 11:35 am
Hi again...
I continue testing LISP function from Intellicad 2001.
Now... I think (slide_image) is not working from LISP...
I define a simple DCL like:
sino:dialog {
label = "Prueba";
:row {
:image {
key = "logo";
width = 40;
height=15;
}
:button{
label = "Si";
key = "si";
is_default = true;
fixed_width = true;
}
}
} // Dialog
And I want DRAW something (a SLIDE) from LISP:
(defun i_test( / id x y)
(setq id (load_dialog "prueba.dcl"))
(setq x (dimx_tile "logo") y (dimy_tile "logo"))
(start_image "logo")
(slide_image 0 0 x y "milogo.sld")
(end_image)
(action_tile "si" "(done_dialog)")
;
(start_dialog)
(unload_dialog id)
)
; Well...
I was testing (slide_image...) with ".sld", w/o ".sld" with other files like .emf and .wmf and differents paths...
It works in Autocad, but in Intellicad it doesn't shows ANYTHING...
Any Idea????
I continue testing LISP function from Intellicad 2001.
Now... I think (slide_image) is not working from LISP...
I define a simple DCL like:
sino:dialog {
label = "Prueba";
:row {
:image {
key = "logo";
width = 40;
height=15;
}
:button{
label = "Si";
key = "si";
is_default = true;
fixed_width = true;
}
}
} // Dialog
And I want DRAW something (a SLIDE) from LISP:
(defun i_test( / id x y)
(setq id (load_dialog "prueba.dcl"))
(setq x (dimx_tile "logo") y (dimy_tile "logo"))
(start_image "logo")
(slide_image 0 0 x y "milogo.sld")
(end_image)
(action_tile "si" "(done_dialog)")
;
(start_dialog)
(unload_dialog id)
)
; Well...
I was testing (slide_image...) with ".sld", w/o ".sld" with other files like .emf and .wmf and differents paths...
It works in Autocad, but in Intellicad it doesn't shows ANYTHING...
Any Idea????