Results 1 to 3 of 3

Thread: AutoLISP to Batch Change Multiple Layers or LayerState on Multiple Drawings

  1. #1
    Member
    Join Date
    2018-08
    Posts
    4
    Login to Give a bone
    0

    Default AutoLISP to Batch Change Multiple Layers or LayerState on Multiple Drawings

    Hi,

    I've been searching online for a while now, but can't seem to find what I'm looking for.

    Basically what I'm trying to do is freeze/thaw multiple layers or change layerstates across multiple drawings without having to open all of them.

    Ex.
    Freeze layers 1, 2, 3, 4 and Thaw layer 5 on all .dwgs in a specific folder.
    Thaw layers 1, 2, 3, 4, and Freeze layer 5 on all .dwgs in a specific folder.
    Thaw layers 1, 2, 3, 4, 5 on all .dwgs in a specific folder.

    or
    Change layer state to E-ON on all .dwgs in a specific folder.
    Change layer state to E-OFF on all .dwgs in a specific folder.
    Change layer state to E-ALL on all .dwgs in a specific folder.

    Full disclosure, I'm not new to AutoLISPs, but am still a novice.

    Thank you in advance.

  2. #2
    Programming Moderator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,385
    Login to Give a bone
    0

    Default Re: AutoLISP to Batch Change Multiple Layers or LayerState on Multiple Drawings

    Have you considered using Core Console for things like this?
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3620, Core i7-7700K 4.2GHz, 32GB RAM, Samsung 970 Pro M.2, 8GB NVIDIA Quadro P4000

  3. #3
    Member
    Join Date
    2018-08
    Posts
    4
    Login to Give a bone
    0

    Default Re: AutoLISP to Batch Change Multiple Layers or LayerState on Multiple Drawings

    I've never tried using it. I'm not great at scripts either.

Similar Threads

  1. 2015: Change an Attibute value by its Attribute tag in multiple drawings
    By spmorgan727505 in forum AMEP General
    Replies: 1
    Last Post: 2016-07-18, 04:14 AM
  2. Replies: 3
    Last Post: 2014-08-05, 08:51 PM
  3. Making the same change in multiple drawings
    By Darren Allen in forum AutoLISP
    Replies: 6
    Last Post: 2014-03-02, 01:15 AM
  4. MSLTSCALE Change in Multiple Drawings
    By roundbox52 in forum AutoCAD General
    Replies: 3
    Last Post: 2012-11-29, 03:49 PM
  5. Replies: 10
    Last Post: 2010-10-13, 03:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •