.NET

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

Modifying palettes in workspaces

40 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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.