Results 1 to 3 of 3

Thread: Tool Palattes - Update layer names??

  1. #1
    Member
    Join Date
    2005-01
    Posts
    18
    Login to Give a bone
    0

    Default Tool Palattes - Update layer names??

    Hi,

    I have created a tool palatte for my design team. It contains blocks, hatches, and polylines etc.

    I have several polylines defined each of which creates:

    - a layer with a specific name
    - that layer set to a specific color (as in, color set to "bylayer")
    - the layer set to a specific line type

    What i need to do is change the default layer color for that layer. I don't want to change the object color so right clicking on the tool palette object, selecting properties and changing the color isn't the answer i'm looking for.

    I created the palette object by having a library file with the polyline drawn within it, on its named layer with the layer color set. I then copy and pasted it to the tool palette. I figured i could just change the layer color within that library file and the change cascades through to the tool palette the next time the command is chosen, however this doesn't happen. I have quite a few lines on the palette so manually deleting and re-pasting them to the palette would be a nightmare.

    The same issue applies to changing the layer name, and i presume to all layer settings although i haven't tried other settings.

    Am i missing something here?? It should be simple but can't figure out how to change the layer color of the layer that the tool palette creates.

    Please help!

  2. #2
    Member
    Join Date
    2006-07
    Location
    Portland, OR
    Posts
    28
    Login to Give a bone
    0

    Default Re: Tool Palattes - Update layer names??

    To do what you are talking about you would need to set up your palette buttons to enact macros as opposed to have a 'remembered' object to copy.
    This unfortunately means remaking every button...
    I don't know how often you need to change these properties. If you want to change them as needed the macro enabled buttons are always editable. If you think you are just going to do this once you may want to stick with the method you know.
    Let me know if you want to know how to do the macro thing.

    ~Elizabeth

  3. #3
    Member
    Join Date
    2005-01
    Posts
    18
    Login to Give a bone
    0

    Default Re: Tool Palattes - Update layer names??

    Hi Elizabeth,

    I feared as much. I started on the remembered object method due to ease and initial lack of understanding, however on other tasks I've moved to the macro method. Google is my friend on that as i'm certainly no lisp expert but i'm muddling by.

    I'll have to have a think on whether i want to make wholesale changes.

    Thanks for your reply.

    Rich.

Similar Threads

  1. Tool Palettes & Tool Palette Group Names
    By sovby254640 in forum AutoCAD Customization
    Replies: 1
    Last Post: 2012-05-13, 11:27 PM
  2. Replies: 6
    Last Post: 2007-05-30, 02:02 PM
  3. Replies: 2
    Last Post: 2007-01-09, 06:39 AM
  4. Change Layer names to other Layer names via a script?
    By tburke in forum AutoCAD Customization
    Replies: 5
    Last Post: 2006-12-04, 07:30 PM
  5. Tool Palattes
    By jyamasaki in forum ACA General
    Replies: 1
    Last Post: 2006-07-23, 05:26 AM

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
  •