Papao
Guest
Good morning.
I would like to create a lisp command that amounts all images that contains a certain folder.
ravaging in the network, I found something that does to my case but needs some improvements that though I am not able to do.
I would like to add therefore, reading the value of two block attributes present in the current design to define on which folder to fish the images to import (the path of the folder will be the same as I echo from the sum of the readings of the two block attributes and must be in place of "c:/tmp").
I would also like to define with a click the location where I would like to insert each image.
below, the code I found. Thank you.
(setq loc "c:/tmp")
(sing)
item
(vl-directory-files loc "*.jpg" 1)
(command)
"._image"
♪
(strcat loc "/" item)
(list 0.0 0.0)
1.0
0.0
)
)
I would like to create a lisp command that amounts all images that contains a certain folder.
ravaging in the network, I found something that does to my case but needs some improvements that though I am not able to do.
I would like to add therefore, reading the value of two block attributes present in the current design to define on which folder to fish the images to import (the path of the folder will be the same as I echo from the sum of the readings of the two block attributes and must be in place of "c:/tmp").
I would also like to define with a click the location where I would like to insert each image.
below, the code I found. Thank you.
(setq loc "c:/tmp")
(sing)
item
(vl-directory-files loc "*.jpg" 1)
(command)
"._image"
♪
(strcat loc "/" item)
(list 0.0 0.0)
1.0
0.0
)
)