Hi all,
I have civil 3d objects which have many layers within it and
when I try to freeze one layer the hold object turns off.
Is there lisp or something that I can use to freeze only
the layer within object I pick...???
Created a few profiles and wanted to freeze off
by picking the grides but everything turns off.
I hope some one can help...
Here are the lisps I have use before but don't work now:
Code:
;---------NF -------- FREEZE Nested Layer
(defun C:NF (/ LAY)
(prompt "\nFreeze NESTED layer by pick")
(SELLAY2)
(if (eq LAY (getvar "CLAYER"))
(prompt "\nCannot freeze current layer.")
(progn
(if (eq LAY "0")
(prompt "\nCannot freeze layer < 0 >. Use NFF.")
(progn
(command "LAYER" "FREEZE" LAY "")
(prompt (strcat "\nLayer <" LAY "> is now FROZEN!"))
)
) ) )
(princ)
)
;-------------NFF ------------- NEsted Nested Freeze
(defun c:nff ()
(setq n2f1 NIL)
(setq n2f2 NIL)
(setq n2f1 (car (cadddr (nentsel "\nSelect Layer to Freeze :"))))
(setq n2f2 (cdr (assoc 8 (entget n2f1))))
(command "layer" "freeze" n2f2 "")
(prompt (strcat "Layer <" n2f2 "> is now Frozen"))
)
Thanks