function init(basePath) {
    var action = new RGuiAction(qsTranslate("DimVertical", "&Vertical"),
        RMainWindowQt.getMainWindow());
    action.setRequiresDocument(true);
    action.setScriptFile(basePath + "/DimVertical.js");
    action.setIcon(basePath + "/DimVertical.svg");
    action.setStatusTip(qsTranslate("DimVertical", "Draw vertical dimension"));
    action.setDefaultShortcut(new QKeySequence("d,v"));
    action.setDefaultCommands(["dimver", "dimvertical", "dv"]);
    action.setSortOrder(400);
    EAction.addGuiActionTo(action, Dimension, true, true, true);
}
