.NET

Reply
*Bobby C. Jones
Message 1 of 1 (37 Views)

Modifying palettes in workspaces

37 Views, 0 Replies
12-15-2006 07:21 AM
I'm working on a stand alone cui installer. In it I create a new workspace.
I want to setup certain palettes in it, but when I access the
DocakbleWindows collection of the workspace, it's always empty. Anyone know
how to get it to populate? This is my latest try, the Count is always a big
fat useless 0.


Code:
CustomizationSection mainCuiCs = this.MainCui;
Workspace BobbysWorkSpace = new Workspace(mainCuiCs, "Bobby");
BobbysWorkSpace.DockableWindows.PopulateFromRegistry();
Console.WriteLine("Palettes.Count = {0}",
BobbysWorkSpace.DockableWindows.Count.ToString());


--
Bobby C. Jones
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.