I tried to use command (and command-s and vl-cmdf) to call Join command, and passing a preselected objects to these commands, but they do not work. Anyone has any ideas how to fix it?
(Defun c:TT (/ ss)
(if (setq ss (ssget))
(command "_.join" ss "")
)
)
Calling C:TT will not join the selected lines.