Our Friends: Leaflet Printing , Presented by: Talia Cad Software

Sign In

Subscribe

Subscribe to Daily Autocad.


Sep 04
Tuesday
AutoLISP, Programming
AutoLISP application: LAY_DEL.LSP

An AutoLISP application that deletes all objects in the layer of selected entity.

Hello Daily AutoCAD readers,

I will not make any additional explanation about this application. All of the explanations are already inside the code.

Listing.1
Listing.1

You can download file from here.

Technorati Tags: , ,

Bu yazinin Turkce’sini okumak icin basiniz.

Viewed 5,526 times so far... This week: 27 Today: 3 Latest: 4 July 2009, 16:48

Post Tags:

2 Responses to “ AutoLISP application: LAY_DEL.LSP ”
  1. HOW TO DO THE AUTOCAD LT 2004. WILLING TO THE LISP.

    THANKS
    Lucich57@gmail.com

  2. Works great. I have got a LISP routine to move all layer entities to a different layer, but I cannot figure one thing out, could you help me out? Thanks
    Mike

    (DEFUN C:CHLAY ()
    (SETVAR “CMDECHO” 0)
    (SETQ LAY (GETSTRING “\nENTER LAYER TO MOVE: “))

    ;(SETQ LAY (entget (tblobjname “LAYER” “numbers”))) this is what i have tried, but it does not work

    (SETQ SS (SSGET “X” (LIST (CONS 8 LAY))))
    (COMMAND “change” SS “” “P” “C” “137″ “LA” “Contour” “” pause)

    (SETVAR “CMDECHO” 1)
    (setq ss nil)
    (PRINC)
    )


Post a Comment



All content and source © 2008 Daily Autocad | News Plus wordpress theme brought to you by Zidalgo.