I'm trying to bring up a ribbon tab that is found on an enterprise CUI using the +RIBBON command.
When I put in the menugroup name.element id, I get the error "ERROR: The specified tab cannot be found."
I tried using a basic autocad one such as
(command "+RIBBON" "ACAD.ID_TabAnnotate")
and I still get the error.
Is the +RIBBON command broken in 2017? If so, does anyone know of a good .NET code that would let me load a ribbon tab?
Sebastian
I can use the +RIBBON command, but I can't get it to work. I don't know if it's user error or what, but I'm leaning that it is.
When I go into MENULOAD my enterprise CUI shows up in the list as _CPH-ENTERPRISECUI
The tab in question has an Element ID of RBN_200_0FA35 in the properties of the CUI.
I was under the impression that the command should work if I did +RIBBON _CPH-ENTERPRISECUI.RBN_200_0FA35
When I do MENUNAME, it reads the c3d menu. Is there a way to switch the MENUNAME to read from the enterprise menu just long enough to add the tab?
Sebastian
Okay, this is a user error on my part. Apparently +RIBBON only works on tabs that are already added to the work space and essentially just acts as if you clicked on the ribbon name with your mouse.
I'm looking for a way to add a tab from a partial CUI through Autolisp or .NET to a work space that does not already have the ribbon tab added to the work space, but has the partial CUI loaded.
Do you guys know how to do that?
Sebastian
Yeah, mine are set to show for all workspaces, but for some reason they do not work as intended in enterprise form.
I came across another post from the swap from the Blackbox poster from two years prior basically asking the same thing I need but never got it working it seems. This post you gave looks like he might have figured it out. Great find, thank you. I'm going down the rabbit hole now.
Can't find what you're looking for? Ask the community or share your knowledge.