you know if you could make a lisp that started me select a block by asking me on which layer I want to bring everything that is inside I mean all bylayer byblock etc... ?
parts assume that with the lisp you can make changes to the whole database of autocad, but perhaps the question was: "Someone could... ? "In any case you do not need to waste time, discarding the guide you could enter the impdalay command (setbylayer) that allows to assign to the selected objects the properties indicated in the setbylayermode variable.