.NET

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

Modifying palettes in workspaces

39 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