I have sold my colleagues on using a ribbon control (instead of a palette) for our custom commands, but... I am stuck on one last detail.
Here's where I'm at.
Using AU examples:
- I have my beautiful new ribbon loading on startup/initialize (IExtensionApplication.Initialize)
- My dll is registering and everything is working as expect.
However.
Many users prefer to un-dock panels from the ribbon and place them on their second monitor, either stacked or horizontal. Once the user exists autocad and restarts the application the panels (from the custom ribbon) return to their native positions. The out-of-box ACAD/ACADE retain their position. How can I get my custom ribbon's source panels to retain their last positions?
Thanks.
Solved! Go to Solution.
Solved by Alfred.NESWADBA. Go to Solution.
Thanks for the reply.
Yes, saving settings to a file works for me.. but I need direction on how to Get position the settings. Maybe I'm blind, but I can't seem to find the method to 'save position' (or whatever) in the object browser.
Hi,
I would first look for saving the workspace. That should be point 1.
The other thing is my interpretation of your type of creating the CUI-items. Have you a CUI-file saved and do you load that as partial menu or do you create the menu items at run-time of your DLL?
First case (you have a CUI-file) should be handled by saving the workspace
Second case (you creating the menus at run-time) is more critical, because you would have to check if the correct workspace is loaded to show your menu-items and then in what workspace is which menu-position.
- alfred -
Alfred,
I have flagged your reply as the solution.
I was creating a ribbon at run-time which doesn't really fit my objective. I have been exploring CUI files and it is a much better fit.
Thanks.