Results 1 to 5 of 5

Thread: Dynamic Ribbon Manipulation

  1. #1
    I could stop if I wanted to
    Join Date
    2012-11
    Location
    Brisbane, Australia
    Posts
    239
    Login to Give a bone
    0

    Default Dynamic Ribbon Manipulation

    Hi All,

    I am looking for a way to actively modify a custom ribbon.
    Specifically I would like to add and remove commands from a dropdown list using other buttons.

    My only idea to achieve this effect would be to rewrite the cui file and reload it on the fly but even then I am not sure if the speed of doing so would be feasible.

    Does anyone else have any experience with this or have any ideas?

    Cheers

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

    Default Re: Dynamic Ribbon Manipulation

    Simply way is using Workspaces. Just create seperate ones for each way you want the ribbon tabs to display. Make a mistake modifying a CUI and you better have a backup copy. Even if I knew how I wouldn't risk letting a lisp routine modify a CUI for me.

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

    Default Re: Dynamic Ribbon Manipulation

    Might be better if you backed up a step or two. What are you trying to accomplish with this process?

  4. #4
    I could stop if I wanted to
    Join Date
    2012-11
    Location
    Brisbane, Australia
    Posts
    239
    Login to Give a bone
    0

    Default Re: Dynamic Ribbon Manipulation

    That's solid advice guys, Thanks.

    Here is a little more info on the problem:
    I am looking to implement a new layer system for drafting our hydraulic drawings.
    This system is based on the breakdown of sub disciplines and systems.
    for example a drainage pipe layer would look something like this: SANITARY-DRAINAGE-NEW-PIPE

    This system is essential for document control but the management of these layers is going to be tedious.
    I want to take inspiration from revit and allow the user to use drop down menus in cad to drive the current sub-discipline and system.
    Then when I run a line or a text command they will automatically be able to use the correct layers.
    The problem is the system list would be dependent on the sub-discipline list essentially needing to update the system list every time the sub-discipline list is changed.

    I have thought about using a command based system but at the very least I would like something on the ribbon to actively report the current values for these.

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

    Default Re: Dynamic Ribbon Manipulation

    That's already built into Civil 3D, what software are you using? For Vanilia AutoCAD Tool Palettes are probably what you're looking for. Add a Tool to draw each object on whatever layer you want.

Similar Threads

  1. Multiple Ribbon Connectors on one Ribbon cable
    By Wish List System in forum Inventor Wish List
    Replies: 0
    Last Post: 2015-07-09, 09:39 AM
  2. Replies: 20
    Last Post: 2015-05-16, 12:14 AM
  3. Replies: 0
    Last Post: 2014-12-01, 03:30 AM
  4. Dynamic block parameter manipulation
    By sakinen in forum AutoCAD Customization
    Replies: 2
    Last Post: 2009-06-26, 03:08 PM
  5. ActiveX API - Dynamic Graphic Manipulation
    By ntaylor in forum API Wish List
    Replies: 8
    Last Post: 2004-11-29, 12:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •