Results 1 to 7 of 7

Thread: CUI shortcut menus for AEC objects

  1. #1
    100 Club
    Join Date
    2005-03
    Location
    Derby, UK
    Posts
    194
    Login to Give a bone
    0

    Default CUI shortcut menus for AEC objects

    Can you customise the shortcut menus for AEC objects?

    I've tried various alias for door (OBJECT_DOOR and OBJECT_AECDOOR) but nothing seems to work!

    Thanks,
    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

    Default Re: CUI shortcut menus for AEC objects

    It depends on what you are trying to get it to do. If you are trying to have the door command activated by right clicking then try using the command AECDOORADD
    Steve Bennett |BIM Manager
    Taylor Design | Adventures in BIM

  3. #3
    100 Club
    Join Date
    2005-03
    Location
    Derby, UK
    Posts
    194
    Login to Give a bone
    0

    Default Re: CUI shortcut menus for AEC objects

    Hi Steve,

    The problem is not with which command I want to access, I cannot get any shortcut menus at all to appear when you select a door and right click (or any other AEC object), It works fine for AutoCad objects but not for AEC objects.

    What I am trying to do is get it to launch a macro that I've written with a user form containing door specific options, all I need to know is which alias name do I need to use to get the menu to appear when I select a door and right click?

    Thanks,
    Attached Images Attached Images

  4. #4
    All AUGI, all the time
    Join Date
    2011-05
    Posts
    926
    Login to Give a bone
    0

    Default Re: CUI shortcut menus for AEC objects

    Have you tried using the tool pallettes for placing doors?

    The default door select-right click allows you to insert the same door style and size. Is that what you're after?

  5. #5
    100 Club
    Join Date
    2005-03
    Location
    Derby, UK
    Posts
    194
    Login to Give a bone
    0

    Default Re: CUI shortcut menus for AEC objects

    Thats not really what I'm after, I just want to add a shortcut menu on and existing door when you right click (to launch a lisp command which runs a VBA macro). It works for AutoCAD objects but not for AEC objects.

    The way it works for AutoCAD objects is you assign an object alias to a shortcut menu in the cui editor, which allows that menu to appear when you right click on an object of that type.

    I either don't know the correct alias for doors or this functionality is only supported for AutoCAD objects and not ADT?

    Thanks,

  6. #6
    All AUGI, all the time
    Join Date
    2011-05
    Posts
    926
    Login to Give a bone
    0

    Default Re: CUI shortcut menus for AEC objects

    Well, I have absolutely no acumen for writing VBA, LISP, or anything like that, but for AEC objects it may be a situation of "you can't get there from here. They are designed to work from tool pallettes, and that may be the root of your problems. Maybe you can reverse engineer the command invocation from the tool pallette.

  7. #7
    I could stop if I wanted to
    Join Date
    2002-02
    Location
    Kansas
    Posts
    487
    Login to Give a bone
    0

    Default Re: CUI shortcut menus for AEC objects

    Quote Originally Posted by gdaniels View Post
    Can you customise the shortcut menus for AEC objects?

    I've tried various alias for door (OBJECT_DOOR and OBJECT_AECDOOR) but nothing seems to work!

    Thanks,
    OBJECT_AEC_DOOR

    use this code to get the name to us in the the Shortcut menus
    enter it on the command line thene select the object
    Then add OBJECT_ for just one object Selected
    or OBJECTS_ for more then one object Selected

    This work for all objects not just AEC objects

    Code:
    (cdr(assoc 0 (ENTGET(CAR(ENTSEL)))))

Similar Threads

  1. 2011: Changing Shortcut Menus
    By jgrant940454 in forum AutoCAD LT - General
    Replies: 4
    Last Post: 2011-09-19, 12:54 PM
  2. Shortcut Menus Don't Work
    By AndrewHall in forum AutoCAD General
    Replies: 5
    Last Post: 2010-03-09, 11:27 PM
  3. Shortcut menus not working!
    By kathryn.johnson in forum AutoCAD CUI Menus
    Replies: 1
    Last Post: 2007-10-04, 09:21 PM
  4. shortcut menus - autocad
    By reinaldo.sampaio in forum AutoLISP
    Replies: 1
    Last Post: 2007-07-30, 06:54 AM
  5. Shortcut Menus in partial cui's
    By Steve_Bennett in forum AutoCAD CUI Menus
    Replies: 4
    Last Post: 2006-10-08, 06:12 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
  •