View Full Version : Enterprise cuix to be active in all workspaces?
zride91
2013-02-27, 02:58 PM
So I have added some standard menu items/ribbon tabs to our enterprise cuix. The problem is, in order for these new items to show up in any of my user's workspaces (whether they are using custom ones or out of the box ones) they will have to manually enable these new menus/ribbon tabs. Unless I go to each computer to do this myself, it'll never happen. I have ~150 computers with AutoCAD on it, I do not want to go to each computer...
Is there anything I can do to make what is in the entrprise cuix be displayed by default in any workspace? It seems kind of useless if there is not...
Thank you.
RobertB
2013-02-27, 04:24 PM
Unhappily, no, there is no way to do it by the CUI interface. It might be possible through the API but I've never tried it.
The way I've handled this, up to this point, is to provide access thru the enterprise's workspaces which are the "official" workspaces. Then, when some says they don't have access to a specific UI element I can tell them to use one of the official workspaces or add the UI element to their own workspaces.
zride91
2013-02-27, 05:05 PM
Thanks RobertB!
In the past, I had made a tool in the enterprise cuix and put it in a toolbar, and I am fairly certain it appeared on all, if not most of my user's workspaces. At the time, this was not necessarily intentional, but this would be the way I would expect an "Enterprise" cui to work. Maybe there is something I can do in the acad.lsp to load the menus or ribbons...
dgorsman
2013-02-27, 09:01 PM
It *might* be possible to use a LISP (command ...) sequence which shows the appropriate elements then saves the users workspace; using dotNET or ObjectARX might be easier e.g. directly accessing the XML content of the Main CUIx file. A much more destructive alternative would be to get the users workspace name, restore the upgraded Enterprise workspace, then save the workspace with the users workspace name. For pretty much any option you would need to be able to create an association between the users workspace and a "source" workspace, which could be difficult if the Main and Enterprise contain several and the user can name their workspaces as they see fit.
BlackBox
2013-02-27, 09:12 PM
It might be possible through the API but I've never tried it.
It *might* be possible to use a LISP (command ...) sequence which shows the appropriate elements then saves the users workspace; using dotNET or ObjectARX might be easier e.g. directly accessing the XML content of the Main CUIx file.
This post (http://www.theswamp.org/index.php?topic=42241.msg473846#msg473846) may be useful to some... As a starting point, that is.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.