Hi All,
I am customizing a menu to find current layer, insert door on appropriate layer, ability to rotate door to user requirements and return user to the previous current layer.
I have achieved all the above except to allow the user to rotate the door upon insertion. When I remove a semi colon the user is prompted to rotate but the current layer isn't returned to the previous before command was invoked.
[Doorslides(DD-1840-64wall,DD-1840-64wall)]^C^C^P(setq orig-lay(getvar "clayer"))(prin1);attdia;1;-layer m D-DOOR;c;2;;;-insert "K:/Ref/AutoCAD Customisation/Library/Doors/DD-1840-64wall.dwg";\1;1;0;-layer s !orig-lay;;;;I would really appreciate some help to achieve my goal.
Thanks,
Phil