Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Kent1Cooper
en respuesta a: Anonymous

[Oops -- didn't read all the messages before Posting my question....]

 

(defun C:WHATEVER ()

  (command

    "_.layer"

      "_set" "Layer1" ; to ensure the one left un-Frozen is one you want on at end

      "_off" "*" "_no"

      "_freeze" "*" ; [no question to answer -- just refuses to Freeze current Layer]

      "_thaw" "Layer1,Layer2,Layer3"

      "_on"  "Layer1,Layer2,Layer3"

      "" ; complete Layer command

    "_regen" ; in case any of them were Frozen before, and require Regen to show again

  ); command

  (princ)

); defun

Kent Cooper, AIA