.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Modifying palettes in workspaces

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
150 Views, 0 Replies

Modifying palettes in workspaces

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
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost