LAYCUR and AI_MOLC

Is in BC alternative to AutoCAD express layer tool: LAYCUR and AI_MOLC

LAYCUR: ...objects to be changed to the current layer

AI_MOLC: ...object whose layer will become current

Comments

  • Dear Juraj Matel,

    For AI_MOLC use SETLAYER in Bricscad.

    LAYCUR appears not to be available in BC7. But this simple lisp will do the trick:

    (defun c:LayCur ( / )
    (setvar "cmdecho" 0)
    (princ "\nChange entities to current layer: ")
    (command "_.chprop" (ssget) "" "_layer" (getvar "clayer") "")
    (setvar "cmdecho" 1)
    (princ)
    )

    Regards, Roy.

  • Great. It works. Thanks!

This discussion has been closed.

Howdy, Stranger!

It looks like you're new here. Click one of the buttons on the top bar to get involved!