Click or drag to resize

CommandManagerAddMacroCommand Method (String, String, MacroCommandCallback)

Add a macro command.

Namespace:  RootPro.RootProCAD.Command
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract void AddMacroCommand(
	string uniqueName,
	string commandName,
	MacroCommandCallback macro
)

Parameters

uniqueName
Type: SystemString
Unique name to assign to the macro command.
commandName
Type: SystemString
The name of the command to display on the menu.
macro
Type: RootPro.RootProCAD.CommandMacroCommandCallback
Method invoked when executing the macro command.
See Also