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,
|
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,
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
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,
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?
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,
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.
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)))))