CUI/Partial CUI saving
Hi
When I first started using Bricscad I created a new partial menu incorporating my old acad MNU files, and this still exists as a saved file.
Unfortunately, I later made the mistake of saving the whole thing (including the Bricscad part of the cui) as a new main cui.
While this works fine, I have realised it was an error in the way it should be done.
The problem, is that I have made a lot of changes to parts of my custom menus, but all are saved in the whole main cui, not in the original partial CUI!
I want to rectify my mistake and save out the changed partial cui, part as a new custom partial cui; but can’t.
I am only able to save the whole thing and cannot remove the Bricscad part from before saving it either.
I tried making a new partial cui, dragging the various menus from the old to the new.
But when I try to start with the standard cui and insert this new partial one; none of the tool’s work.
It seems they have no association to anything and only work when the original cui is put back in.
But then any of the later additions/changes aren’t there, I only get those back when I reload my main cui instead of the Bricscad master one.
I don’t work with the ribbon for the main part of my work, having worked so long with the classic layout and things in certain places. I do make use of the ribbon interface when doing 3D work and recently trying out parametric blocks.
I want to try he new interface, as this seems to make parametric work easier; but I want to try and set things, so I have my main traditional working setup as a switchable workspace.
But unless I can separate out my custom menus/tool from my current main cui; I can’t do that!
Is there a way to save the changes I have made as a partial cui, removing the Bricscad parts.
Thanks in advance for any info offered.
Comments
-
Long story… What keeps you from deleting all cui's, replacing them with defaults and load your old school .mnu-file?
0 -
Hi
The reason i dont want to start from scratch, are twofold. One, is that the old original menus do not contain any of the recent changes i have made and i need to keep them as they are now. As such, I would rather not spend a full week recreating all the things i have changed or added over the last couple of years.
0 -
A partial CUI file is not a different type of CUI file; it's just a different way of loading the file.
It's like an xref, which isn't a different type of DWG file, just a different way of opening the file.Any DWG file can be "externally referenced" to any other DWG file.
Once attached, it's always opened as an xref to the main file, any time the main file is opened.
But you can break that connection by selecting the xref in Drawing Explorer and "detaching" it.Similarly, any CUI file can be "loaded" as a partial to any other CUI file.
Once attached, it's always loaded as a partial to the main file, any time the main file is loaded.
But you can break that connection by right-clicking on the partial and "unloading" it.0 -
I use custom mnu's all the time never touch the source CUI or CUIX Acad & Bricscad. You can write a lisp that will unload your custom CUI and then reload the updated mnu.
A side comment a CUI is a xml file so with care I guess you could just copy out your custom menu sections.
0 -
Hi
When we had autocad i had created cui versions of our original MNU's.
Moving to Bricscad, I didnt modify the source cui, but after loading my original partail cui; I saved the the whole thing as a new main cui.
Resaving it as a new version if i made changes, that though locked my partial cui to the elements of the default cuit that was also saved.
All the changes i have made, were made to the job specific part of the cui i had saved as my working main cui.
But there isnt the option in bricscad to save just this portion as its own cui, thus i dont have a partial cui that is just my specific section; with all the current functions!
Thats what i was hoping to find out, if anyone knew of a way to save a section of a cui as a seperate cui!
I have looked at the code of the cui, but editing that looks to be way more complex to do than editing MNU fles.
0 -
An ode to MNU files… I maintain very large partial menu's and cherish them as MNU files, generated from a simple spreadsheet. However, from CUI to MNU is not easy.
0 -
quote: ".... after loading my original partail cui; I saved the the whole thing as a new main cui.
.... But there isnt the option in bricscad to save just this portion as its own cui, thus i dont have a partial cui that is just my specific section; with all the current functions!"Consider the analogy to xrefs. Imagine someone saying, "After attaching my title block file as an xref, I saved the main DWG file with a new name. But there isn't the option to save just the title block as its own DWG file, so I don't have a DWG file that is just my title block, with all the latest changes." Do you see what would be wrong with that?
0 -
One of the things I have thought about is having a mnu for Ribbons but you need a XML for the CUI. This is the opposite to the request. Unfortunatley Autodesk when they introduced Riibons forced use of the "CUI".
This is for Acad but may be useful. I forget where I got it.
Having a look at a CUI I think can convert it to something close to a mnu. Will add "To Do list"
0