Results 1 to 10 of 10

Thread: Do Ribbon tools not use Layer Keys???

  1. #1
    Member
    Join Date
    2009-02
    Posts
    3
    Login to Give a bone
    0

    Default Do Ribbon tools not use Layer Keys???

    Perhaps this is a stupid question but how do I get the dims and mtext etc in the Ribbon tools to come in on the right layer and color just like I do with the tool pallets?
    I try to tell people in the office to use the tool pallet content because it is set up to our corp standards. However the Ribbon tools are right there in front of them but they are 'dumb' tools.
    We have a standard template file loaded by default with Layer Keys. Not sure why the Ribbon tools aren't using it.
    Thanks.

  2. #2
    Certified AUGI Addict cadtag's Avatar
    Join Date
    2000-12
    Location
    Cairo - no, not Illinois
    Posts
    5,069
    Login to Give a bone
    0

    Default Re: Do Ribbon tools not use Layer Keys???

    are you running Architecture or MEP? if so, check that the Ribbon and tool palettes are using the same calle, eg AMEPPOWERDIM vs DIM

  3. #3
    Member
    Join Date
    2009-02
    Posts
    3
    Login to Give a bone
    0

    Default Re: Do Ribbon tools not use Layer Keys???

    Sorry, I don't follow. AMEPPOWERDIM ??? is that the macro I need to use?
    I am using AutoCAD Arch 2011.
    For example, I have regular 5/65th Annotative MTEXT on the pallet. Under the properties for that tool I link it to a Layer Key ANNOBJ which brings it in on A-ANNO-NOTE Layer.
    I can't seem to find that type of properties to apply to the MTEXT that are either on the Ribbon or available for the Ribbon in the CUI editor.
    Thanks

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

    Default Re: Do Ribbon tools not use Layer Keys???

    Tool Palettes and the CUIX are as different as night & day. All the Ribbons, Workspaces, Menus, Toolbars, etc... are stored in the CUIX. The Tool Palettes are seperate files that work completely different.

  5. #5
    Member
    Join Date
    2009-02
    Posts
    3
    Login to Give a bone
    0

    Default Re: Do Ribbon tools not use Layer Keys???

    I understand that they are different but why can't the content on the Ribbon use Layer Keys. If I use AEC content from the Ribbon it will come in on the right layer etc. But what about MTEXT and Dims? Why can't they be linked to Layer Keys?

  6. #6
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: Do Ribbon tools not use Layer Keys???

    FWIW -

    Non-Aec* entities = AutoCAD entities... AutoCAD entities can be placed on any layer.

    If only specific entities (inserted when you use a Ribbon button) are to be placed on a specific layer, then consider either setting a specific layer current then restoring original layer post-insert, or simply insert a block (saved to the network?) and explode it.

    If all DIMs are to be placed on the same layer, then I'd recommend using a Command Reactor. This is what we use in our deployments, which automagically place all MVIEWs, XREFs, Images, PDFs, etc. come in on the right layer(s) without any user action (other than the insert/attachment command, etc.).

    If you're not adept at coding Visual LISP Reactors, Lee Mac has a really good one you can use as a starting point (linked -->): Layer Director

    Quote Originally Posted by www.Lee-Mac.com, Layer Director

    HTH
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  7. #7
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,570
    Login to Give a bone
    0

    Default Re: Do Ribbon tools not use Layer Keys???

    Quote Originally Posted by kyle.martens View Post
    I understand that they are different but why can't the content on the Ribbon use Layer Keys. If I use AEC content from the Ribbon it will come in on the right layer etc. But what about MTEXT and Dims? Why can't they be linked to Layer Keys?
    So - why use the ribbon?
    (rhetorical question)

  8. #8
    Certified AUGI Addict cadtag's Avatar
    Join Date
    2000-12
    Location
    Cairo - no, not Illinois
    Posts
    5,069
    Login to Give a bone
    0

    Default Re: Do Ribbon tools not use Layer Keys???

    Quote Originally Posted by RenderMan View Post
    FWIW -

    Non-Aec* entities = AutoCAD entities... AutoCAD entities can be placed on any layer.

    If only specific entities (inserted when you use a Ribbon button) are to be placed on a specific layer, then consider either setting a specific layer current then restoring original layer post-insert, or simply insert a block (saved to the network?) and explode it.

    If all DIMs are to be placed on the same layer, then I'd recommend using a Command Reactor. This is what we use in our deployments, which automagically place all MVIEWs, XREFs, Images, PDFs, etc. come in on the right layer(s) without any user action (other than the insert/attachment command, etc.).

    If you're not adept at coding Visual LISP Reactors, Lee Mac has a really good one you can use as a starting point (linked -->): Layer Director



    HTH
    LayerKeys are a different concept -- rather like description keys with civil points. but extended to other objects - similar to the old softdesk tools. This lets an AA user change between standards readily by pointing to a different layerkey file. Client "A" wants all dimension entities on A-ANNO-DIMS, client "B" wants "DIMS", client C uses the British standards. By pointing the Arch dwg to the various layer key files, the same command handles the changes automagically without user intervention.

    Bascially abstracting the layer away from the entitiy, and getting a step closer to a 'project' concept in CAD. By identifying the command used in the tool palette, the OP ought to be able to modify the Ribbon to call the 'special' Arch dimension command the can use Layer Keys. I don't have Autodesk Architecture handy to check, so that's theoretical.

    Reactors are great, but LayerKeys add a lot of flexibility to cad management, without needing to get into programming. They do take some setting up for each set of standards, but after that it's easy(er) to rock and roll with different requirements.

  9. #9
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: Do Ribbon tools not use Layer Keys???

    Interesting... I just CONDitionally evaluate the active profile for the predefined layers that my reactor(s) implement. Thanks for the info though.
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  10. #10
    AUGI Addict
    Join Date
    2015-12
    Posts
    2,095
    Login to Give a bone
    0

    Default Re: Do Ribbon tools not use Layer Keys???

    "Layer keys" are very similar to what I've implemented here, although without reactors for the most part. We have any number of clients to support, with multiple applications. No way that was going to fly with umpteen different profiles, so instead I adopted a nmemonic naming system for the various things needed to be standardized. For example, the code calls for the layer nmemonic "TEXT-MEDIUM" and depending on the active client the appropriate layer name is returned.

Similar Threads

  1. assigning keys with express tools commands
    By rmclemore in forum AutoCAD Customization
    Replies: 0
    Last Post: 2010-04-28, 04:01 PM
  2. Ribbon Customization for Tool Palette Tools
    By adafchik in forum AutoCAD CUI Menus
    Replies: 0
    Last Post: 2009-10-06, 03:35 PM
  3. Problems adding Express Tools to the Ribbon
    By cwjean76 in forum AutoCAD General
    Replies: 13
    Last Post: 2009-02-02, 04:18 PM
  4. Problems adding Express Tools to the Ribbon
    By cwjean76 in forum AutoCAD CUI Menus
    Replies: 1
    Last Post: 2009-01-29, 10:03 PM
  5. Layer Naming Standards and Layer Keys... ??
    By moon47 in forum AMEP General
    Replies: 3
    Last Post: 2008-08-26, 07:09 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
  •