RegisterContextMenu Method


UIApplication Register Context Menu Method

Adds a new context menu creator.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void RegisterContextMenu(
	string fullClassName,
	IContextMenuCreator creator
)

Parameters

fullClassName String
FullClassName of the application.
creator IContextMenuCreator
Your add-in's implementation of the IContextMenuCreator interface.
Remarks
For details about the use of IContextMenuCreator, see IContextMenuCreator .
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →