TheSwamp
CAD Forums => CAD General => Topic started by: ROBBO on December 01, 2014, 06:16:38 AM
-
Hello,
I have this custom right click command to place a construction line in the Defpoints layer:
^C^C^P(if
(not(tblsearch "LAYER" "Defpoints"))
^P(command "-layer" "m" "Defpoints" "")^P
(command "-layer" "m" "Defpoints" "")
)^P(command "_xline" (while (/= (getvar 'cmdactive) 0) (command pause)) "layerp") ^P
But if for some reason the Defpoints layer has been frozen the command fails. What can I add to solve this?
Any help or guidance would be appreciated. Many thanks in advance, Robbo.
-
Hello,
I have this custom right click command to place a construction line in the Defpoints layer:
^C^C^P(if
(not(tblsearch "LAYER" "Defpoints"))
^P(command "-layer" "m" "Defpoints" "")^P
(command "-layer" "m" "Defpoints" "")
)^P(command "_xline" (while (/= (getvar 'cmdactive) 0) (command pause)) "layerp") ^P
But if for some reason the Defpoints layer has been frozen the command fails. What can I add to solve this?
Any help or guidance would be appreciated. Many thanks in advance, Robbo.
Somewhere in there one might want to -layer THAW DEFPOINTS