Results 1 to 2 of 2

Thread: Need help writing a script file - Change line color and style of a xref file

  1. #1
    I could stop if I wanted to cadd4la's Avatar
    Join Date
    2001-12
    Location
    Newport Beach, CA
    Posts
    399
    Login to Give a bone
    0

    Default Need help writing a script file - Change line color and style of a xref file

    Hi everyone,

    I am looking for help in writing a .scr file that will change the line color and style of a xref file.

    thank you

    Kyle

  2. #2
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: Need help writing a script file - Change line color and style of a xref file

    Hi

    If the Objects within the Xref file "Child" have Color & Linetype set ByLayer could you not set system variable VisRetain = 1 in the "Master" file then make the required changes to the Xref Layers from the Layer Manager dialog box inside the "Master" file...

    +

    The following routine from CADalyst "Get the Code" should help...

    Xrefs to color 9

    Have a good one, Mike

Similar Threads

  1. Setting up a Dimension style from a script file via a Tool Palette
    By kgodfrey in forum AutoCAD Customization
    Replies: 3
    Last Post: 2013-09-08, 09:10 PM
  2. Replies: 6
    Last Post: 2010-10-11, 03:44 PM
  3. Is it possible to change the layer color of an Xref file?
    By jeff.garr in forum AutoCAD General
    Replies: 3
    Last Post: 2005-11-14, 05:22 PM
  4. Layer color & Xref file
    By ljones.27809 in forum AutoCAD General
    Replies: 2
    Last Post: 2005-08-15, 09:59 PM
  5. Script File - Text Style
    By ablair.69905 in forum AutoCAD Customization
    Replies: 2
    Last Post: 2004-11-03, 05: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
  •