Hi I need help, I have the following code, that return the layers list that are not unlocked, the defpoint layer and the layers of the xref, my problem is I want to add an option of not show the frozen layers and off.
Thanks.
;;;-----------------------------
;;;by José Luis Garcia Galán
;;;LaMarmita
;;----------------------------------
(defun lisLayerDoc
( / tbldata table_list just_name
) ; El nombre no es nulo
((= "" just_name))
;;No listar la capa "DEFPOINTS"
((= "DEFPOINTS" (strcase just_name
))) ;;esta bloqueada
;;capa de Xref
;;Valida
(T
(setq table_list
(acad_strlsort
(cons just_name table_list
)))) )
);c.while
(setq table_list table_list
) )