Results 1 to 2 of 2

Thread: Accessing layer state list

  1. #1
    jlspartz Guest

    Accessing layer state list

    Here's the dilemma. The last CAD manager here made a VBA for making and accessing layer states quickly. Well, when the layer state is saved in that program, AutoCAD 2005 doesn't recognize it anymore even though it is in the layer state list and works perfectly in AutoCAD 2002. But, it we save it through the command line or in the layer manager in 2002 it works in 2005.

    So, I need to capture the list of layer states within the drawing because they could be any name and then save them again. I notice it won't let me save the layer state with the same name to overwrite it too, so I may need to give each one a prefix when resaving them, and then after that is done, delete all layer states without that prefix. I know how I would do it if I knew the names of the layer states I wanted to resave, but the names could be anything. How would I do that in lisp?

  2. #2
    Luis Esquivel Guest
    Download "layerstate.lsp" from here:

    http://www.draftteam.com/free.php?&lang=en

    HTH.

    So, I need to capture the list of layer states ... How would I do that in
    lisp?

Similar Threads

  1. Layer state check / switch
    By Nathan Kendall in forum Customization
    Replies: 0
    Last Post: 03-04-2005, 02:01 AM
  2. Lisp in toolbar command for toggling a layer state?
    By Nathan Kendall in forum Customization
    Replies: 1
    Last Post: 03-03-2005, 02:02 AM
  3. Layer State Event
    By weslleywang in forum VBA
    Replies: 1
    Last Post: 02-09-2005, 05:32 PM
  4. Set Description for Layer State
    By Colin French in forum VBA
    Replies: 3
    Last Post: 02-08-2005, 05:30 PM
  5. Layer State Manager - Drop-down on Toolbar?
    By Scott Townsend in forum Customization
    Replies: 7
    Last Post: 01-27-2005, 12:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - Exchange Server Forum