Revit 2026 API
UIApplicationRegister |
Adds a new context menu creator.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void RegisterContextMenu( string fullClassName, IContextMenuCreator creator )
Public Sub RegisterContextMenu ( fullClassName As String, creator As IContextMenuCreator )
public: void RegisterContextMenu( String^ fullClassName, IContextMenuCreator^ creator )
member RegisterContextMenu : fullClassName : string * creator : IContextMenuCreator -> unit
Parameters
- fullClassName String
- FullClassName of the application.
- creator IContextMenuCreator
- Your add-in's implementation of the IContextMenuCreator interface.
For details about the use of IContextMenuCreator, see IContextMenuCreator.
See Also