rodrigo_sjc_sp 发表于 2022-7-6 07:13:10

re-select polyline

I have this command

(setq selpline (ssget '((0 . "LWPOLYLINE"))))
 
The variable "selpline" ,contains the polyline selected,
only that at the end of my code I lose the selection of this polyline.
 
How can I make a command to select the polyline again, with reference only to variable "selpline"????

MSasu 发表于 2022-7-6 07:52:06

You want that selection set to appear highlighted?

(sssetfirst nil selpline)

rodrigo_sjc_sp 发表于 2022-7-6 08:08:46

Mircea
 
It was exactly what I needed, thank you

MSasu 发表于 2022-7-6 08:14:39

Glad I could help you! You're welcome!
页: [1]
查看完整版本: re-select polyline