function init(basePath) {
    var action = new RGuiAction(qsTranslate("LineRelativeAngle", "R&elative Angle"), RMainWindowQt.getMainWindow());
    action.setRequiresDocument(true);
    action.setScriptFile(basePath + "/LineRelativeAngle.js");
    action.setStatusTip(qsTranslate("LineRelativeAngle", "Draw line with relative angle to base entity"));
    action.setDefaultShortcut(new QKeySequence("l,r"));
    action.setDefaultCommands(["linerelativeangle", "lr"]);
    action.setGroupSortOrder(6600);
    action.setSortOrder(100);
    action.setWidgetNames(["DrawLineMenu", "LineToolBar", "LineToolsPanel", "LineMatrixPanel"]);
}
