You may also define your command aliases by changing the alias configuration file and restart LibreCAD:
* In OS_WIN32 "%HOME%\local configuration\application data\LibreCAD\librecad.alias"
* In OS_MAC "$HOME/Library/Application Support/LibreCAD/librecad.alias"
* In OS_LINUX "$HOME/.local/share/data/LibreCAD/librecad.alias"
My question is : I appreciate there is not only drop down menues but also icons to select functions but I just wondered if there are also keyboard shortcuts?
Thanks for any help Duncan
tr("polyline") means the translated/localized string for "polyline"
the first line links the "polyline" with the translated string: cmdTranslation.insert("polyline", tr("polyline"));
The second line links the translated string to the the Action to take RS2::ActionDrawPolyline (which is mostly self-explaining by name). mainCommands.insert(tr("polyline"), RS2::ActionDrawPolyline);
following two lines are essentially the same, but in a category of "short commands" instead of full "commands", as "pl" vs "polyline"
then, you can edit your own command alias file to link your own alias commands to existing commands.
I shall try and understand the instructions.