User Manual: MOSES Editor
User Manual: MOSES Editor
User Manual: MOSES Editor
User Manual
MOSES Editor
Page 3
Contents
License & Copyright .......................................................................................................... 3
Contents .............................................................................................................................. 4
About this Manual .............................................................................................................. 5
Chapter 1 Introduction........................................................................................................ 6
License & Copyright .......................................................................................................... 7
Subscription Entitlement Service (formerly CONNECT Licensing) ....................... 7
Getting Started ......................................................................................................... 9
Ctrl+Space................................................................................................................ 9
Chapter 2 MOSES Editor Reference ................................................................................ 11
Ribbon Layout........................................................................................................ 11
File ......................................................................................................................... 11
Edit ......................................................................................................................... 12
Undo ....................................................................................................................... 14
MOSES .................................................................................................................. 14
Support ................................................................................................................... 15
Bentley Cloud Services .......................................................................................... 16
Page 4
About this Manual
Page 5
Chapter 1 Introduction
Chapter 1 Introduction
MOSES Editor was created to allow users to edit MOSES CIF and DAT files with full
syntax highlighting and the ability to run CIF scripts directly from the editing
environment.
Page 6
Chapter 1 Introduction
With traditional SELECT Licensing, product activation has been through an activation
key that an Organization distributed to all users. With Subscription Entitlement Service,
product activation is managed by user sign in through the CONNECTION Client, which
is installed on each machine that uses Bentley applications. This offers a more secure
and manageable system as it offers usage alerts, notifying your users when they are
about to reach a certain usage limit set by the Administrator.
The Subscription Entitlement Service Configuration Dialog is, by default, shown at start-
up. The dialog can be suppressed by unchecking the Show at Start-up check box. The
dialog can be viewed at any time from Settings | Licensing Preferences. Changes to the
license selection will not take effect until the next start of the program.
Page 7
Chapter 1 Introduction
Any change of license will require confirmation through the dialog shown below. This
dialog may also appear if no previous license has been selected.
Page 8
Chapter 1 Introduction
Getting Started
MOSES Editor is designed to be simple and easy to use – just double click on any CIF or
DAT file and it should instantly open it up and display the file with full syntax
highlighting.
Ctrl+Space
Command completion is performed by typing part of a MOSES command and holding
down Ctrl and pressing the space bar. This will bring up a list of commands that match
what you’ve typed so far – or alternatively if you’ve typed nothing then it will every
command available to you. If you choose the command from the popup then it will be
inserted into your current file at the current cursor position.
Page 9
Chapter 2 MOSES Editor Reference
Ribbon Layout
There are three tabs on the MOSES ribbon, Home, Support and Bentley Cloud Services.
The Home tab is broken up into four different groups – File, Edit, Undo and MOSES.
Holding the mouse over an icon will reveal a pop-up tool tip outlining the action that the
button performs.
File
New
Open a new blank untitled document for editing. If a document is not open in the editor a
blank page will open in the current window and the user will be prompted to name the
new file. If a document is open, a new window will launch with a blank untitled
document.
Open
Open an existing document. If a document is open in the editor, a new window will
launch with the newly opened document.
Related
Open Related loads any .DAT or .CIF files with the same name in a new window. Any
files that have been included using the &INSERT or MODEL_IN commands in the
current file will also be opened in new windows. This allows you to open up all files
related to your CIF or DAT file for easy editing.
Close
This command closes the current document.
Save
This command saves the current document using the existing name.
Save As
This command saves the current document and prompts the user for the new filename.
Print
This command prints the current document.
Print Setup
This command configures the default printer setup for your document.
Page 11
Chapter 2 MOSES Editor Reference
Edit
Cut/Copy/Paste
These are the standard cut, copy and paste commands.
Go To
This command allows you go directly to a given line number in the current document.
Find
This command brings up a simple Find dialog letting you look for specified text in the
current document.
Replace
This command brings up a Find & Replace dialog which lets you search for and replace
text in a document with that of your choosing.
Page 12
Chapter 2 MOSES Editor Reference
Moving the mouse over the collapsed text will display a pop-up detailing the text that is
contained within the collapsed group. Other MOSES commands that can be collapsed
include PGEN, PANEL, PLATE and main menu items with a clearly defined END such
as HYDRODYNAMICS and PRCPOST.
Font
This command brings up a font dialog and allows the user to change the type and size
font that the editor uses.
Page 13
Chapter 2 MOSES Editor Reference
Undo
Undo
This command will undo the last action performed in the editor.
Redo
This command will redo an action that has been previously undone.
MOSES
Run
This command runs a full MOSES analysis on the open Command Input File (CIF).
Any previous results are deleted before running the analysis. (Note: currently this just
uses the current filename to do this – ie. <filename>.ans and <filename>.dba – it doesn’t
yet support the &file use commands so if you’ve changed the log/output path then you
will need to remove these manually).
Re-Run
This command runs the current Command Input File (CIF) through MOSES – however it
doesn’t delete any previous results first, so if it has been analysed previously then
MOSES will open it in results viewing mode.
Help
This command looks up the MOSES help on the current highlighted command and opens
it in your web browser. Highlighting the command and pressing the F1 key will also
open the MOSES help document.
Page 14
Chapter 2 MOSES Editor Reference
Support
Support Ticket
Directs the default browser to http://www.bentley.com/serviceticketmanager so you can
log a support ticket.
MOSES Editor Help
Opens this document, the MOSES Editor Manual.
MOSES Web Site
Directs the default browser to the MOSES Web Site.
About Editor
Shows some information about the current MOSES Editor version, what SELECT
license is currently being used and whom it is licensed to.
News
This will display the latest in MOSES and Offshore news from Bentley. Keep an eye out
for advice on tips and tricks for using MOSES as well as information on software
updates and training information.
Page 15
Chapter 2 MOSES Editor Reference
The Bentley Cloud Services tab allows to you access learning materials, track software
usage by project and share files with other users. A Bentley CONNECT manual
(BentleyCONNECTEditionOverview) is installed alongside the MOSES suite manuals.
This document gives an in depth explanation of the CONNECT concept, usage and
benefits.
Associate
Associate opens the CONNECT project chooser. This enables you to assign the current
file to a project. Once assigned the following text will be printed to the top of your
MOSES file:
Disassociate
Disassociate removes this file from a project and replaces the –PROJ_ID code with
‘NONE’ and the Project Name with ‘No Project Selected’.
Personal
Directs the default browser to your Bentley CONNECT Personal Portal.
Project
Directs the default browser to the Bentley CONNECT Project Portal.
Page 16