Click or drag to resize

CommandManagerAddMacroCommand Method (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 commandName,
	MacroCommandCallback macro
)

Parameters

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