Results 1 to 3 of 3

Thread: Create a lisp to Restore Layer States when using xref's

  1. #1
    100 Club
    Join Date
    2016-01
    Location
    South Jersey
    Posts
    101
    Login to Give a bone
    0

    Default Create a lisp to Restore Layer States when using xref's

    I have a set of MASTER files right now that have existing Layer States that work exactly how we want them to.

    I am in the process of breaking down the master files into discipline specific drawings and then want to xref them

    back together to remake a master file and I need the Layer States to again work once I do. The Problem is in the Layer Name because now the xref has the file name in front of the layer name so the existing layer state does not find it. I do not want to have to re-make all the existing layer states, I would like to have a lisp that we can run to do a restore in stead. Any help will be appreciated. I am very new to using lisp. Thank you.

  2. #2
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,667
    Login to Give a bone
    0

    Default Re: Create a lisp to Restore Layer States when using xref's

    You can edit an exported *.las Layer States file with the right editor settings to modify the layer name to include the xref portion:
    https://forums.autodesk.com/t5/autoc...829383#M923232
    https://forums.autodesk.com/t5/autoc...93349#M1051468

  3. #3
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,105
    Login to Give a bone
    0

    Default Re: Create a lisp to Restore Layer States when using xref's

    Why not change the reference name of the external reference to common names? That could be done through AutoLISP without the need to modify your layer states.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

Similar Threads

  1. express layer states or layer states
    By rstiles in forum AutoCAD General
    Replies: 3
    Last Post: 2007-08-23, 02:01 PM
  2. AutoCAD 2006 Layer States Manager - won't restore properly
    By David Munford in forum AutoCAD General
    Replies: 11
    Last Post: 2006-05-23, 01:56 PM
  3. Layer states do not restore
    By jkipfer in forum AutoCAD General
    Replies: 1
    Last Post: 2005-04-08, 03:52 PM
  4. Save Layer States and restore
    By Matt Mercer in forum AutoLISP
    Replies: 5
    Last Post: 2005-02-24, 11:08 PM
  5. RESTORE LAYER STATES
    By mwilson in forum AutoLISP
    Replies: 3
    Last Post: 2005-02-04, 03:10 PM

Tags for this Thread

Posting Permissions

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