function init(basePath) {
    var action = new RGuiAction(qsTranslate("DimAligned", "&Aligned"), RMainWindowQt.getMainWindow());
    action.setRequiresDocument(true);
    action.setScriptFile(basePath + "/DimAligned.js");
    action.setStatusTip(qsTranslate("DimAligned", "Draw aligned dimension"));
    action.setDefaultShortcut(new QKeySequence("d,a"));
    action.setDefaultCommands(["dimaligned", "da"]);
    action.setGroupSortOrder(12100);
    action.setSortOrder(100);
    action.setWidgetNames(["DimensionMenu", "DimensionToolBar", "DimensionToolsPanel", "DimensionMatrixPanel"]);
}
