Registers a WPF dockable pane in the Autodesk Revit UI using Nice3point.Revit.Toolkit's fluent API. Useful for adding custom panes with initial dock state during application startup.
Ships in revit-ui. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
DockablePaneProvider.Register(...).SetConfiguration(...) (from Nice3point.Revit.Toolkit) wraps the verbose IDockablePaneProvider registration into a fluent call.
Register the pane once during application startup.
DockablePaneProvider
.Register(uiControlledApplication, paneId, "Analysis")
.SetConfiguration(data =>
{
data.FrameworkElement = new AnalysisPaneView();
data.InitialState = new DockablePaneState
{
MinimumWidth = 300,
DockPosition = DockPosition.Right
};
});
where paneId is a Guid or DockablePaneId value.
.Register(uiControlledApplication, paneId, "Analysis") can be replaced with:
DockablePaneProvider
.Register(uiControlledApplication)
.SetId(paneId) // or SetId(dockablePaneId)
.SetTitle("Analysis");
For a pane element built from a DI container, set data.FrameworkElementCreator to a FrameworkElementCreator<T> backed by the service provider (from Nice3point.Revit.Toolkit):
data.FrameworkElementCreator = new FrameworkElementCreator<AnalysisPaneView>(serviceProvider);
Confirm the pane appears under the Revit view tab and docks in the configured position.
FrameworkElement (or FrameworkElementCreator) and InitialState are set.| Pitfall | Correct approach |
|---|---|
Implementing IDockablePaneProvider manually | Use DockablePaneProvider.Register(...).SetConfiguration(...). |
A new pane id (Guid) generated per run | Use a stable, persisted pane id. |
DockablePaneProvider not found | The Nice3point.Revit.Toolkit package is not referenced. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/revit-command-and-applicationBuild Autodesk Revit add-in entry points with Nice3point.Revit.Toolkit base classes, not raw IExternalCommand/IExternalApplication interfaces. USE FOR: authoring an external command or application with a simplified Execute()/OnStartup() override, optional OnShutdown() override, ready context properties, and automatic dependency resolution. DO NOT USE FOR: dispatching API work from code that runs outside the Revit API context (use revit-external-events).
/revit-context-accessAccess the Autodesk Revit database application through RevitApiContext or an active UI session through RevitContext from Nice3point.Revit.Toolkit, and suppress dialogs. USE FOR: reading Application, the current UiApplication/ActiveDocument/ActiveView without a commandData, or suppressing TaskDialog and message boxes with BeginDialogSuppressionScope. DO NOT USE FOR: suppressing expected Revit warnings and failures during a transaction.
/revit-context-menuAdd Autodesk Revit right-click context menu entries with the Nice3point.Revit.Extensions fluent API. USE FOR: registering context menu items, submenus, and separators bound to command classes during application startup. DO NOT USE FOR: ribbon panels and buttons (use revit-ribbon).
/revit-ui:revit-dockable-panefrom revit-ui
npx claudepluginhub nice3point/revit-skills --plugin revit-uiOther plugins' skills for the same job