Ribbon Add LayerFilterComboControl

Ribbon Add LayerFilterComboControl

Civil3DReminders_com
Mentor Mentor
540 Views
1 Reply
Message 1 of 2

Ribbon Add LayerFilterComboControl

Civil3DReminders_com
Mentor
Mentor

I'm looking to add the LayerFilterComboControl via .NET code to change a cuix file via AcCui. Is there a way to do this? I can't find if there is a collection where I can pull this from.

 

Thank you

 

 

LayerFilterComboControl.png

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
0 Likes
Accepted solutions (1)
541 Views
1 Reply
Reply (1)
Message 2 of 2

Civil3DReminders_com
Mentor
Mentor
Accepted solution

Here is how it's done:

//  <RibbonControl UID="RBN_201_EA415" Id="AcLayerFilterComboControl" Text="LayerFilterComboControl">
//      <ModifiedRev MajorVersion="20" MinorVersion="1" UserVersion="0" />
//  </RibbonControl>

var layerCtrl = new RibbonControl(newRow);
layerCtrl.Id = "AcLayerFilterComboControl";
layerCtrl.Text = "LayerFilterComboControl";

newRow.Items.Add(layerCtrl);
Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
0 Likes