RegisterContextMenu Method


UIControlled Application 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 Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →