Ok, I can get the command to fire in the correct plugin, but I can't get the icon to display in the ribbon. Here's my XAML file:
<?xml version="1.0" encoding="utf-8" ?>
<RibbonControl
x:Uid="SectionTransporter" xmlns="clr-namespace:Autodesk.Windows;assembly=AdWindows"
xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:adwi="clr-namespace:Autodesk.Internal.Windows;assembly=AdWindows"
xmlns:system="clr-namespace:System;assembly=mscorlib"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Autodesk.Navisworks.Gui.Roamer.AIRLook;assembly=navisworks.gui.roamer">
<RibbonTab Id="PclTab">
<RibbonPanel x:Uid="SectionTransporterPanel">
<RibbonPanelSource x:Uid="SectionTransporterPanelSrc" Title="SectionTransporter">
<local:NWRibbonButton x:Uid="BtSt" Id="BtSt" Size="Large" ShowText="False" Orientation="Horizontal"/>
</RibbonPanelSource>
</RibbonPanel>
<RibbonPanel x:Uid="NWFixUnitsPanel">
<RibbonPanelSource x:Uid="NWFixUnitsPanelSrc" Title="Units">
<local:NWRibbonButton x:Uid="(@nw)NWFixUnits.ADSK.FixUnits" Id="(@nw)NWFixUnits.ADSK.FixUnits" Size="Large" ShowText="True" Orientation="Vertical"/>
</RibbonPanelSource>
</RibbonPanel>
</RibbonTab>
</RibbonControl>and here's my PlugIn Attributes:
[RibbonLayout("NWFixUnits.xaml")]
[RibbonTab("PclTab", DisplayName = "PCL-Units")]
[Plugin("NWFixUnits", "ADSK", DisplayName = "NWFixUnits", ToolTip = "Fix Merged Model Units")]
[Command("FixUnits", CanToggle = false, DisplayName = "Fix Units", LargeIcon = "Icon_NW-FixUnits-32.png", ToolTip = "Fix Merged Model Units")]The XAML file is from a plugin called "SectionTransporter" so it's named for that.
When I had both ribbons, the icon displayed. I put the icon in both sub-folders but it won't display.