See the top rated post in this thread. Click here

Results 1 to 3 of 3

Thread: Need help with a routine to change xref layer properties

  1. #1
    Member
    Join Date
    2005-03
    Posts
    3
    Login to Give a bone
    0

    Default Need help with a routine to change xref layer properties

    Hello,

    I am in the process of automating some of our normal routines we do to drawings for each project. Here is my problem. We currently x-ref drawings such as topo drawings into our "base" files. I'd like to have a routine that would change the color, linetype, and state of the layers in the xref-ed topo drawing in the base file. Every topo drawing contains the same layers, however each drawing is named different according to the project number (i.e. 3495034topo.dwg, 4928012topo.dwg). I've searched the forum but can't find a lisp or anything else that will work with the different file names. Does anyone know if this is possible or have any suggestions on what to do?

    Thanks in advance for your help!

    Brian

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

    Default Re: Need help with a routine to change xref layer properties

    You could select the xref to extract the "base" name for the xref. You could then append this "base" name to the standard list of layers to make your layer changes.
    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

  3. #3
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    1

    Default Re: Need help with a routine to change xref layer properties

    (command "._Layer" "_c" "8" "*Topo|*" "")

Similar Threads

  1. Change Table Properties Using Lisp Routine
    By CADdancer in forum AutoCAD Tables
    Replies: 3
    Last Post: 2023-08-11, 02:20 PM
  2. View/Change Properties in Layer Properties Window
    By mlongfellow in forum AutoCAD General
    Replies: 2
    Last Post: 2007-12-28, 03:37 PM
  3. Replies: 6
    Last Post: 2007-05-30, 05:45 PM
  4. Ability to Update an XREF Layer from the Layer Properties Manager
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2007-05-08, 12:50 PM
  5. Replies: 10
    Last Post: 2007-04-27, 06:17 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
  •