(OK, that was weird)
I'm trying to select an object and turn it into polyline, and then select that object (now a polyline) automatically for use in a JOIN command.
I'v tried using (command "PEDIT" ent "YES" "" ""))
along with a suitable test for being a polyline, but this causes trouble with selecting the object to move on.
using a variable only works if it's already a polyline, "LAST" only works if it was the last object created, and JOIN doesn't support PREVIOUS.
Any ideas?
DJE