SView Help Center
English (US)

Basic View

Author: sviewngts Last Updated: 2026-10-28 16:29

   The execution method for the Switch Basic View command is shown in the following code:

// Basic view viewType values: 0 front view, 1 back view, 2 right view, 3 left view, 4 bottom view, 5 top view, 6 isometric view
let viewMode = 1;
let paras = new SView.CommandParameters();
paras.add(SView.Commands.BaseViewCommand.baseViewType, SView.CommandParameterType.INT, viewMode);
commandManager.execute("BaseView", paras);