Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Copy Layer Keys from Style to Style

  1. #1
    Administrator richard.binning's Avatar
    Join Date
    2015-12
    Location
    In the foothills of the appalachians
    Posts
    2,261
    Login to Give a bone
    0

    Cool Copy Layer Keys from Style to Style

    Got a layer standard that you'd like to update to the latest version? Not looking forward to recreating all your custom layer keys?

    Download just posted on my blog, .

    I left all the VBA code unlocked, so if you want to modify or improve it, just be sure to post the updates back here.
    Attached Images Attached Images

  2. #2
    Time Lord Steve_Bennett's Avatar
    Join Date
    2015-12
    Location
    far, far, far away...
    Posts
    4,730
    Login to Give a bone
    0

    Talking Re: Copy Layer Keys from Style to Style

    Very indeed! I'll sticky this thread for a little bit so all get a chance to see this.
    Steve Bennett |BIM Manager
    Taylor Design | Adventures in BIM

  3. #3
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: Copy Layer Keys from Style to Style

    Will there also be a blog article explaining how to use it? Some of us are just never happy.

  4. #4
    Administrator richard.binning's Avatar
    Join Date
    2015-12
    Location
    In the foothills of the appalachians
    Posts
    2,261
    Login to Give a bone
    0

    Default Re: Copy Layer Keys from Style to Style

    Yes...already posted.


    RLB

  5. #5
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: Copy Layer Keys from Style to Style

    Thanks. I was apparently having some sort of caching issue and was not seeing that latest post. Nothing that a CTRL+F5 could not take overcome. Thanks again for sharing this with everyone - this will be quite handy at the next upgrade.

  6. #6
    Member
    Join Date
    2004-09
    Posts
    3
    Login to Give a bone
    0

    Default Re: Copy Layer Keys from Style to Style

    Richard -

    I'm getting some kind of error when I load the routine and run the macro..."Compile Error: Can't find Project or Library" I loaded it when I had ADT2004 up and running and had loaded both of the layer key styles that I wanted to copy between. What could be happening, and did I need to load another kind of file to get this to work?

    Curt

  7. #7
    Administrator richard.binning's Avatar
    Join Date
    2015-12
    Location
    In the foothills of the appalachians
    Posts
    2,261
    Login to Give a bone
    0

    Default Re: Copy Layer Keys from Style to Style

    HI Curt,

    I wrote that routine in ADT2005 and provided code changes to run it in ADT2006. I have not tested it in ADT2004 and do not have an install of ADT2004 to test it on. You would have to detach the missing references inside the VBA editor and point the routine to the new references (adt2004).

    You will probably need guidance for this.

    RLB


    Quote Originally Posted by creodesign
    Richard -

    I'm getting some kind of error when I load the routine and run the macro..."Compile Error: Can't find Project or Library" I loaded it when I had ADT2004 up and running and had loaded both of the layer key styles that I wanted to copy between. What could be happening, and did I need to load another kind of file to get this to work?

    Curt

  8. #8
    Member
    Join Date
    2004-09
    Posts
    3
    Login to Give a bone
    0

    Default Re: Copy Layer Keys from Style to Style

    Quote Originally Posted by richard.binning
    HI Curt,

    I wrote that routine in ADT2005 and provided code changes to run it in ADT2006. I have not tested it in ADT2004 and do not have an install of ADT2004 to test it on. You would have to detach the missing references inside the VBA editor and point the routine to the new references (adt2004).

    You will probably need guidance for this.

    RLB
    Richard -

    Thanks for your reply...like I said, I don't see where the references are missing, mainly because the "References" menu item on the VBA editor is grayed out. Is there a way to see what references that it is looking for? Do I need to seek local help? By the way, I like your avatar...great glasses! I take it a relative of yours, perhaps?

    Curt

  9. #9
    I could stop if I wanted to
    Join Date
    2006-02
    Posts
    424
    Login to Give a bone
    0

    Exclamation Re: Copy Layer Keys from Style to Style

    I tried to go your blog and check out the other information you had thrown out there for this. I reached your website just fine. Is the information for this under the archived Oct 2005 section? If so, for some reason I get a "page could not be found" error. This happens on all of the archives I try to click on. First of all am I looking in the correct location? Secondly is the link still active? Thirdly do you (or anyone else out there) have any good suggestions of combining several Layer Key files?

    Thank you!

  10. #10
    Administrator richard.binning's Avatar
    Join Date
    2015-12
    Location
    In the foothills of the appalachians
    Posts
    2,261
    Login to Give a bone
    0

    Wink Re: Copy Layer Keys from Style to Style

    Yeah, I'm not sure what is wrong with those links...I'll have to dig into the blogger template. All is not lost, however, I've updated the routine for 2007. It now works in either version of 2007. Visit my to download a copy.


    RLB

Page 1 of 2 12 LastLast

Similar Threads

  1. Set Plot Style-Assign Style to Layer
    By jeff.richards in forum AutoCAD General
    Replies: 3
    Last Post: 2010-02-02, 05:54 PM
  2. create a new object style for misc schedule keys
    By noah in forum Revit Architecture - General
    Replies: 1
    Last Post: 2006-02-09, 05:39 PM
  3. Replies: 1
    Last Post: 2005-02-17, 03:12 PM
  4. Copy dim style with children
    By chuck_cantieny in forum AutoCAD Wish List
    Replies: 1
    Last Post: 2005-01-30, 02:39 AM
  5. Railing style that acts similar to a wall style
    By arcadia_x27 in forum ACA Wish List
    Replies: 0
    Last Post: 2004-10-28, 04:29 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
  •