---->(ECHO)---->+------------------>+--->+----------------+-->+--->|filename|--->+---->
| | | | | |
+---->(DEL_OLD)---->+ +--->(FLUSH)--->+ `------>(OFF)----->'
| |
`---->(APPEND)----->'
ECHO opens or closes the ECHO file. If an ECHO file is open, a copy of all user input is written there.
With OFF, the current ECHO file is closed. With a filename, the current ECHO file is closed and a new one with the given name is opened. The filename may specify a disk file or a device file.
The ECHO file is in a form readable by INPUT. However, INPUTting an ECHO file does not as a rule produce the same results as the actions that produced the ECHO file. A reason for that might be that user syntax errors are written to the ECHO file along with correct input. If a file with a syntax error is later read by INPUT, the syntax error will cause the rest of the file to be discarded.
This section describes the built-in screen editor, invoked by many commands.
Using the text editor for basic editing is straightforward. Simply move the cursor to the right location and start typing. The Insert key will toggle the insertion mode between overwriting of existing text, and insertion. To save the work and end the session use CTRL D. To abort the session with no changes use ESC. The keys relevant to simple editing are described following:
+--------------+---------------------------+ | | | | |Key(s) used in various | | |platforms | | Actions +------------+--------------+ | | | | | | PC | NEC | | | | | +--------------+------------+--------------+ |Aborts editing| ESC | ESC | |session. This | | | |is often |CNTRL BREAK |CNTRL BREAK | |called as |followed by |followed by | |unsuccessful |any key can |any key can | |exit. |also be used|also be used | | |to abort the|to abort | | |session. |session | +--------------+------------+--------------+ | | | | |Saves and |Cntrl - D |Cntrl - D | |quits editing | | | |session. This | | | |is often | | | |called as | | | |successful | | | |edit | | | | | | | +--------------+------------+--------------+ | | | | |Moves cursor |Up Arrow |Up Arrow | |Up one line | | | | | | | +--------------+------------+--------------+ | | | | |Moves cursor |Down Arrow |Down Arrow | |Down one line | | | | | | | +--------------+------------+--------------+ | | | | |Moves cursor |Right Arrow |Right Arrow | |one character | | | |position to | | | |right. | | | | | | | +--------------+------------+--------------+ | | | | |Moves cursor |Left Arrow |Left Arrow | |one character | | | |position to | | | |left. | | | | | | | +--------------+------------+--------------+ | | | | |Moves to | - |Shift-Up | |cursor to top | |Arrow | |of the page | | | | | | | +--------------+------------+--------------+ | | | | |Moves to | - |Shift-Down | |cursor to | |Arrow | |bottom of the | | | |Page | | | | | | | +--------------+------------+--------------+ | | | | |Moves the | End |Shift-Right | |cursor to the | |Arrow | |end of current| | | |line. | | | | | | | +--------------+------------+--------------+ | | | | |Moves the | Home |Shift-Left | |cursor to the | |Arrow | |beginning of | | | |the current | | | |line | | | +--------------+------------+--------------+ | | | | |Toggles text | Insert | Ins | |overwriting | | | |and insertion | | | |modes. | | | | | | | +--------------+------------+--------------+ | | | | |Deletes the | Delete | Del | |character | | | |following the | | | |cursor. | | | | | | | +--------------+------------+--------------+ | | | | |Inserts a new | - |Shift - Ins | |line above a | | | |current line | | | | | | | +--------------+------------+--------------+ | | | | |Deletes the | - |Shift - Del | |current line | | | |including new | | | |line. | | | | | | | +--------------+------------+--------------+ | | | | |Clears the |CTRL + K | CTRL _ DEL | |entire line | and | | |leaving a |Alt + F8 | | |empty line. | | | | | | | +--------------+------------+--------------+ | | | | |Inserts a line|CTRL + V | - | | | and | | | |Alt + F5 | | | | | | +--------------+------------+--------------+ | | | | |Deletes a line|CTRL + Y | | | | and | - | | |Alt + F6 | | | | | | +--------------+------------+--------------+ | | | | |Clears the |CTRL + I | - | |remainder of a| and | | |line |Alt + F7 | | | | | | +--------------+------------+--------------+ | | | | |Moves Up a |CTRL PageUp | | |Page | | - | | | | | | | | | +--------------+------------+--------------+ | | | | |Moves Down a |CTRL Page | | |Page |Down | - | | | | | | | | | +--------------+------------+--------------+
A more powerful set of editor commands is also available. To enter an editor command, tyoe the command escape character $. This puts the cursor on the command input line, read to accept a command. The commands are described following:
NOTE:
For MEPLOT the following commands are not available in the commandline version
MARKERS:
^ first line
. current line
! last line
0..9 user defined
COMMANDS:
marker go to marked line
'string' go to next occurrence of 'string'? ['keywor d'] display help
AC adjust center paragraph
AF adjust fill paragraph
AJ adjust justify paragraph
C marker1 marker2 copy text block
D marker delete text block
H ['keyword'] display help
L 'filename' load 'filename'
M marker1 marker2 move text block
N repeat last 'string' search
O 'filename' [marker] (over)write 'filename'
R [V] ['string1' ['string2']] [marker]
replace 'string1' with 'string2'
SE 'character' set command escape character
SL set left margin
SM 0..9 set marker
SR set right margin
W 'filename' [marker] write 'filename'
WARNING:
To exit the editor normally, press CTRL D. To abort the editing session,
producing an unsuccessful exit, press ESC or BREAK. Note that all compressed
binary MI files, or other binary files, will be damaged if you open them in the
editor and store them with CTRL D.
To enter editor command, type the command escape character, normally $. This puts the cursor on the command input line, ready to accept a command. The commands are described in the following paragraphs.
A marker alone positions the cursor at column 1 on the marked line. The three markers ^, ., and ! mark the first, current, and last lines, respectively. They are always defined, and cannot be changed. The digits 0 to 9 are user markers. They are undefined when you enter the screen editor, but may be set with the Set Marker command. If a line with a user marker is deleted, that marker becomes undefined.
A string alone positions the cursor at the first character of the next occurrence of the string. Strings must be delimited by any non alphanumeric character ( ^ . ! ? and the command escape character may not be used). In this document single quotes are used to delimit strings.
The ? command displays the manual section describing the given keyword. If no keyword is specified, then the manual section describing the screen editor is displayed. Leaving the manual causes the editor to resume execution.
The Adjust Center command centers each line of the current paragraph between left and right margins. Paragraphs are sections of text delimited by blank lines.
The Adjust Fill command fills the current paragraph between left and right margins, moving words between lines as necessary. It provides a smooth left and a ragged right margin. The indentation of the first line of the paragraph is not changed. Paragraphs are sections of text delimited by blank lines. The Adjust Justify command first does the same as the Adjust Fill command. It then uses an intelligent algorithm to insert blanks until all lines extend to the right margin. Paragraphs are sections of text delimited by blank lines.
The Copy command copies the text block from and including the current line to and including the line marked by marker1. The copy is inserted after the line marked by marker2.
The Delete command deletes the text block from and including the current line to and including the line marked by marker.
The Help command is exactly the same as the ? command.
The Load command inserts the text stored in the specified file after the current line.
The Move command moves the text block from and including the current line to and including the line marked by marker1. The new location is after the line marked by marker2. Source and destination must not overlap.
The Next command repeats the last string search.
The Overwrite command writes the text block from and including the current line to and including the line marked by marker to the specified file. If no destination marker is specified, then the whole file is written, regardless of where the cursor is. Any existing file with the same name is lost.
The Replace command replaces 'string1' with 'string2'. 'V' enables the Verify option. If Verify is on, you can choose whether or not to make a particular replacement. 'string1' defaults to the last used search string. 'string2' defaults to the last used 'string2'. If no destination marker is specified, then only a single replacement is done, otherwise all strings from the cursor up to the end of the marked line are replaced.
The Set Escape command redefines the command escape character. Any character except (0..9, A..Z, a..z, ^, ., !, ?) may be used. The new command escape character stays in effect until the session is terminated. Termination of the screen editor only does not cause the command escape character to be changed. The initial value of the command escape character (at system startup time) is $.
The Set Left margin command sets the left margin to the current cursor position. Margins are used by the adjust paragraph commands.
The Set Marker command sets the specified marker to the current line.
The Set Right margin command sets the right margin to the current cursor position. Margins are used by the adjust paragraph commands.
The Write command is exactly like the Overwrite command, except it does not allow you to overwrite an existing file.
The command escape character may be used as a delimiter between two editor commands given on the same line to resolve ambiguities. Example:
W 'myfile' $ 1
This writes the whole file to 'myfile' and then positions the cursor on the line marked by marker 1.
-->(EDIT_CURRENT_INFO)-->
EDIT_CURRENT_INFO enters the built-in editor (see EDITOR) and allows you to edit the current info, which is the info assigned to every new element. An unsuccessful exit (BREAK or ESC) from the editor leaves the current info unchanged.
--->(EDIT_CURRENT_URL)----->
EDIT_CURRENT_URL edits the current URL infotexts. New URLs can be added, old URLs can be modified or removed.
Current URLs are stored as current info texts. They are prefixed with string 'URL: '.
-->(EDIT_DIM_POSTFIX)-+----------+->|point|-->
| |
+-(SCREEN)-+
EDIT_DIM_POSTFIX allows you to edit the postfix of the identified dimension text. The postfix text can be edited as a string, or, using the SCREEN option, with the built-in editor (see EDITOR).
-->(EDIT_DIM_PREFIX)--+----------+->|point|-->
| |
+-(SCREEN)-+
EDIT_DIM_PREFIX allows you to edit the prefix of the identified dimension text. The prefix text can be edited as a string, or, using the SCREEN option, with the built-in editor (see EDITOR).
-->(EDIT_DIM_SUBFIX)--+----------+->|point|-->
| |
+-(SCREEN)-+
EDIT_DIM_SUBFIX allows you to edit the subfix of the identified dimension text. The subfix text can be edited as a string, or, using the SCREEN option, with the built-in editor (see EDITOR).
->(EDIT_DIM_SUPERFIX)-+----------+->|point|-->
| |
+-(SCREEN)-+
EDIT_DIM_SUPERFIX allows you to edit the superfix of the identified dimension text. The superfix text can be edited as a string, or, using the SCREEN option, with the built-in editor (see EDITOR).
-->(EDIT_DIM_TEXT)-->|point|-|string|-->
EDIT_DIM_TEXT allows you to edit the identified dimension text. An unedited text displays a value that automatically adjusts to changes in the attached geometry; an edited text does not have this feature. To convert back to the original state, see CANCEL_EDIT_DIM_TEXT.
If the dimension has a limit tolerance, you can change the limit values by using EDIT_DIM_TOLERANCE. The EDIT_DIM_TEXT command works only on the dimension value text which will be displayed after the limit tolerance is deleted.
,---------------------------------,
v |
-->(EDIT_DIM_TOLERANCE)--+--+-------------------+->|point|-+-|tolerance|-->
| ^
`-->(NO_TOLERANCE)--'
EDIT_DIM_TOLERANCE allows you to edit the tolerance of the identified dimension text. NO_TOLERANCE will remove the existing tolerance of the identified dimension.
,------------------,
v |
-->(EDIT_ELEM_INFO)--+--->|id pnt|----->+-->
| ^
'--->|partname|----'
EDIT_ELEM_INFO allows you to edit the info of the identified element, using the built-in editor (see EDITOR). An unsuccessful exit (BREAK or ESC) leaves the info as it was.
If you identify the element with id_pnt, it need not be in the active part. If you use a partname the part can be anywhere.
,--------------------------,
v |
-->(EDIT_ELEM_URL)---+--->|point on element|--->+-->
| ^
'------->|partname|--------'
EDIT_ELEM_URL edits the element URL info. New URLs can be added, old URLs can be modified or removed.
---->(EDIT_ENVIRONMENT)---->
EDIT_ENVIRONMENT allows you to edit a list of commands that establish the current environment (for example, dimension defaults, units, and hatch pattern. An unsuccessful exit (ESC) leaves the environment unchanged. A successful exit (CTRL D) causes the equivalent of an INPUT of the edited list.
---->(EDIT_FILE)---->|filename|--->
EDIT_FILE allows you to edit the named text file with the built-in editor (see EDITOR).
---->(EDIT_MACRO)---->+---->|macro name|---->+---->
| |
`---->(ALL)------------'
EDIT_MACRO allows the named macro or all macros to be edited with the built-in editor (see EDITOR).
+--------<-------------+
| |
-->(EDIT_OLE)--+->-----|pnt|------>---+------->
| |
+->-----|MOVE|----->---+
| |
+->----|SCALE|----->---+
| |
+->-----|UNDO|----->---+
| |
+->---|SENDBACK|--->---+
| |
+->---|BRINGTOP|--->---+
| |
+->--|SHOW_OLE_ON|-->--+
| |
+->-|SHOW_OLE_OFF|-->--+
| |
+->-|SHOW_OLE_BOX|-->--+
| |
+->-|SHOW_OLE_ICON|->--+
| |
+->----|ACTIVATE|--->--+
| |
`->-----|RENAME|---->--'
EDIT_OLE modifies OLE images with MOVE, SCALE, SENDBACK, BRINGTOP, SHOW_OLE_ON, SHOW_OLE_OFF, SHOW_OLE_BOX, SHOW_OLE_ICON and ACTIVATE.
To use EDIT_OLE, specify a modification, then select the OLE image to be edited. SENDBACK will pop-down a OLE image, i.e the selected OLE image will go behind all the other OLE images overlapping with it. BRINGTOP is the reverse of SENDBACK and brings the OLE image on to the top.
SHOW_OLE_ON and SHOW_OLE_OFF allows you to selectively turn on and off the OLE object's image. OLE images that are turned off are not drawn on the screen, nor can you select them in, for example, the DELETE_OLE command (except by selecting them by mane or ALL). The display of the OLE images will be turned ON/OFF only in the current viewport.
Using SHOW_OLE_BOX option you can make the OLE objects to be displayed as rectangles. This makes the window operations faster.
Using SHOW_OLE_ICON option you can make the OLE objects to be displayed as icons.
ACTIVATE option activates OLE objects in separate window.
Using RENAME option you can change the name of existing OLE object on the drawing.
UNDO is effective only after a SCALE operation. By using this option you can go back one step while you are still inside EDIT_OLE command.
Whenever two or more OLE images are overlapping on one another and if you have picked a point in the overlapping area, it results in an ambiguous pick. In such a case you will get an error message. Then pick in a non-ambiguous portion of the OLE image or select by providing name of the OLE image.
-->(EDIT_PART)--+->|part name|-----+-->
| ^
|--->|point|------>|
| |
|--->(PARENT)----->|
| |
'----->(TOP)-------'
EDIT_PART changes the active part to the one designated. This is required before you can change (add, delete, modify) elements in that part.
When followed by a part name (string), it changes the active part to the part with that name.
With PARENT, the new active part is the parent of the old one. If there is no parent (that is, you are already at the top of the drawing), EDIT_PART PARENT has no effect.
With TOP, the new active part is the top of the drawing, also known as the root.
With the point option, you pick either a boxed part, which then becomes the active part, or any other type of element, in which case the part containing that element becomes the active part.
The name of the active part is shown in the status line, along with the level number, measuring from the top, which is at level 0. An 'S' in place of the level number means that the part is shared.
A side effect of EDIT_PART is that all parts with no elements are automatically deleted. (Since parts are elements, a part containing a part is not a "part with no elements".) The two exceptions are the top part, which cannot be deleted, and the part you want to edit. For example, suppose you are not in the top part, and you say DELETE ALL CONFIRM. The active part, say 'X', is now empty. As soon as you move out of 'X' with EDIT_PART, 'X' will be silently deleted. Another example: you use GATHER (without the COPY option) to bring everything from part 'Y' into the active part 'X'. Part 'Y' is now empty, but it will not be deleted until the next EDIT_PART. Furthermore, if you have made a mistake, and realize this, you can always EDIT_PART 'Y' and gather the elements back where they belong.
-(EDIT_PART_URL)---+----+---|point in part|-+----+---------+
| v ^ |
^ +---|part name|-----+ v
| |
+-----------------------------+
EDIT_PART_URL edits the part URLs. New URLs can be added, old URLs can be modified or removed.
+--------<-------------+
| |
-->(EDIT_PIXMAP)--+->-----|pnt|------>---+------->
| |
+->-----|MOVE|----->---+
| |
+->----|ROTATE|---->---+
| |
+->----|SCALE|----->---+
| |
+->-----|UNDO|----->---+
| |
+->---|SENDBACK|-->----+
| |
+->---|BRINGTOP|-->----+
| |
+->--|SHOW_PIX_ON|-->--+
| |
+->-|SHOW_PIX_OFF|-->--+
| |
+->-|SHOW_PIX_BOX|-->--+
| |
+->----|RENAME|----->--+
| |
'->----(ASSIST)----->--'
EDIT_PIXMAP modifies pixmaps with MOVE, ROTATE, SCALE, SENDBACK, BRINGTOP, SHOW_PIX_ON and SHOW_PIX_OFF.
To use EDIT_PIXMAP, specify a modification, then select the pixmap to be edited. SENDBACK will pop-down a pixmap. i.e the selected pixmap will go behind all the other pixmaps overlapping with it. BRINGTOP is the reverse of SENDBACK and brings the pixmap on to the top.
SHOW_PIX_ON and SHOW_PIX_OFF allows you to selectively turn on and off the pixmaps. Pixmaps that are turned off are not drawn on the screen, nor can you select them in, for example, the DELETE_PIXMAP command (except by selecting ALL). The display of the pixmaps will be turned ON/OFF only in the current viewport.
Using SHOW_PIX_BOX option you can make the pixmaps to be displayed as rectangles. This makes the window operations faster.
Using RENAME option you can change the name of existing pixmap on the drawing.
UNDO will be effective only after a SCALE or ROTATE operation. By using this option you can go back one step while you are still inside EDIT_PIXMAP command.
Whenever two or more pixmaps are overlaping on one another and if you have picked a point in the overlaping area, it results in an ambigious pick. In such a case you will get an error message. Then pick in a non-ambigious portion of the pixmap or select by providing name of the pixmap.
--->(EDIT_PORT)---.
|
.---------------'
|
|
+->|background color|-+-|border color|-+-|text color|-+->|cursor color|-.
| | | | |
v v v v |
+<--------------------+<---------------+<-------------+<----------------'
|
|
+--->|border width|---+--->|inner border width|---.
| | |
v v |
+<--------------------+<--------------------------'
|
|
`--->|corner point|--->|opposite corner point|--->
The EDIT_PORT function defines the viewport used by the built-in screen editor. Making the EDIT_PORT smaller than the screen size saves time when starting the editor.
+--------------------------------+
| |
---->(EDIT_TEXT)---->+-+-------------+--->|point|---->+---->
| |
+--(CONVERT)--+
EDIT_TEXT allows you to edit the identified text in the screen editor (see EDITOR).
The qualifier CONVERT converts control characters that can't be displayed into a readable format consisting of a backslash '\' followed by three digits representing the decimal value of that character. Exiting the editor with CONTROL-D converts from this special notation into raw ascii.
EXAMPLE: abc\100efg will be converted into abcdefg.
-->(Ell_vvp)-->|end of axis|--->|other end of axis|-->|periph pt|---->
-->(Ell_car)-->|center|-->|maj axis ang|-->|maj rad|-->|min rad|---->
-->(Ell_cpp)-->|center|-->|periph pt|-->|periph pt|---->
-->(Ell_ffp)-->|first foc|-->|second foc|-->|periph pt|---->
-->(Ell_faem)-->|first foc|-->|direction|-->|Ex-value|-->|maj rad|---->
ELLIPSE draws splines that approximate ellipses.
With Ell_vvp you indicate opposite points of an axis (major or minor), then a peripheral point.
With Ell_car, you indicate a center point, then the angle of the major axis, then the major and minor radius.
With Ell_cpp, you indicate the center point and two peripheral points.
With Ell_ffp, you indicate the first focal point, then the second focal point, then a point on the circumference.
With Ell_faem, you indicate the first focal point, then the direction of the major axis, then an Ex_value, then a value for the major radius.
ELLIPSE is the name of a menu slot; the five macros are Ell_vvp, Ell_car, Ell_cpp, Ell_ffp, and Ell_faem.
---->(ENABLE_BREAK)---->
The ENABLE_BREAK function resets the break handling back to the default setting (macros are interrupted by pressing the BREAK key).
---->(END)---->
END terminates the current command or function. If you are in a function that has interrupted another function or command, only the most recent function is terminated.
--->(END_PART)--->
END_PART is exactly the same as EDIT_PART PARENT.
---->(ENTER)---->|token|---->
ENTER evaluates a token and puts the result of the evaluation in the keyboard entry line for further editing and usage. Token may be a number, point (which is not caught, even if it comes from the tablet or mouse), string, macro name, name, or an expression.
The current directory can be changed. The default directory is the pathname from where MEPlot is started.
All drawings in the current directory are displayed.
You can limit MEPlot to display only a special group of drawings in the Directory and Drawing List. For example, if you specify 'jul*', all drawings beginning with 'jul' will be displayed. For a list of wildcards, see SELECT.
You can enter the current logfile directory to search for logfiles. The default directory is the directory from the METMPDIR variable.
You can specify a user ID for logfiles. By reviewing logfiles, MEPlot displays only those logfiles having the specified user ID.
The number of copies to be produced by the plotter can be set.
If you specify a value greater than zero, the drawing is automatically selected (highlighted) for plotting. After you have started the plot, MEPlot automatically resets the number of plot copies to the default value of zero.
,--(UNDO)<-.
v |
,----+-----------+----------+--------------------,
| | |
| | ,----------------, |
v v v | |
->(EQUIDISTANCE)->-+|d|-+->|p0|-+-+->-|cmpnt|--+-+->(END)->|side|---+-->
| |
`-<-(UNDO)-<-'
EQUIDISTANCE creates equidistance/parallel contours.
First enter the distance value (d) which the parallel contour will take, then specify the reference contour by identifying the start point (p0) of the contour and contour elements. You can skip elements along a contour, as long as you do not skip more than one element past any branch points.
The included elements (lines, arcs, fillets, or circles) must be in the active part. For the case of open contour, enter END when the reference contour is defined. Specify the side of the parallel contour to complete the input information. If you specify the side relative to an arc or a fillet, then think of this arc or fillet as if it was a circle and pick either inside or outside the circle to create the parallel contour inside or outside the arc or fillet. If you specify the side of the parallel contour relative to a line, simply treat it like an infinite line and pick left or right of this infinite line.
Enter UNDO to remove the most recently created contour.
---->(ERROR_LOG)------>+------>(ON)----------->+---->
| |
+------>(OFF)---------->+
| |
+------>(CLEAR)-------->+
| |
+----->-|number|->----->+
| |
+---->|output_spec|---->+
The ERROR_LOG facility saves warnings and error messages generated by the system in internal memory. The purpose of this facility is to allow the system to continue operation if a warning or a non-severe error is issued by a part of the system. However, severe errors will be displayed immediately and the system will abort execution of any command or macro.
Options:
ON Enables saving of warnings/error messages.
OFF Disables saving of warnings/error messages (default).
CLEAR Clears the internal error log memory.
number Defines the maximum number of lines that are saved. If
more messages are generated, the oldest will be
overwritten. A positive number will enable the error
log, otherwise the log will be disabled, and a following
ERROR_LOG ON will have no effect, until the number of
lines is set to a positive value again.
Returns the first error message issued by the system after error trapping was enabled by TRAP_ERROR.
--->(EXECUTE_STRING)---+------->----------+--->
| |
'->--(IMMEDIATE)->-'
EXECUTE_STRING executes a string containing ME10 commands and functions.
---->(EXIT)---->(CONFIRM)---->
The EXIT command terminates the session, returning control to the host operating system. It must be CONFIRMed to prevent an accidental exit.
Returns 1 if one and only one argument equals 0, otherwise returns 0.
Returns e (2.718...) raised to the power of the argument.
An expression is a description of operations to be performed on constants, variables, or functions. An expression has a type and, after evaluation, a value. An expression may be used anywhere in the command syntax instead of a simple token if it is enclosed in parentheses.
Expressions are evaluated by the following rules of precedence:
( ) highest any other operator/function ^ ^ ** | * / DIV MOD AND | + - OR EXOR | = <> > < >= <= lowest
( ) highest any other operator/function ^ ^ ** | * / DIV MOD AND | + - OR EXOR | = <> > < >= <= lowest
Operations of the same precedence are evaluated left to right.
Built-in functions and operators:
Returns 0.
.-----------------.
v |
---->(FBROWSER)---+---+---------------->+-----+--->(SHIFT_RIGHT)--->+----+----->
| | | | | ^
| +--->(FILE)------>+ +--->(SHIFT_LEFT)---->+ |
| | | | | |
| +--->(DIR)------->+ +--->(MAP)----------->+ |
| | | | | |
| `--->(HISTORY)--->' +--->(UNMAP)--------->+ |
| | | |
| +--->(FIX)----------->+ |
| | | |
| `--->(UNFIX)--------->' |
| |
+--------------------->(MAP_ALL)-----------------------+
| |
+--------------------->(UNMAP_ALL)---------------------+
| |
+------>(PRINT_FB)------->(file name)------------------+
| |
+------>(SET_DIR)----->|directory name|--------------->+
| |
+------>(SET_MASK)---->|filename mask|---------------->+
| |
+------>(TOGGLE_DIR)---------------------------------->+
| |
+------>(TOGGLE_SELECT)------------------------------->+
| |
+------>(TOGGLE_SORT)--------------------------------->+
| |
+------>(REREAD)-------------------------------------->+
| |
+------>|string|-------------------------------------->+
| |
+------>(CONFIRM)------------------------------------->'
| |
+------>(MAKE_WORK_DIR)------------------------------->'
The FBROWSER function gives access to the file browser tables.
The last 16 loaded files will be saved in the file named history.dat in METMPDIR directory while exiting ME10. These 16 file names are displayed in the HISTORY table in the next session of ME10.
---->(FBROWSER_ICON)---->+---->|description|---->|icon string|---->+---->
| |
`----------------->(CLEAR)----------------'
The FBROWSER_ICON function can be used to map the description-entry strings of the file browser table to icons. The option CLEAR will delete all previously defined mappings.
Fe_convert_space is a macro in the font editor to convert the specified font to a variable font (with parameter "ADJUST") or to a constant font (with parameter "CONST").
Fe_create_2_byte_font is a macro in the font editor to enable the creation of a 2 - byte font (for example a JAPANESE font).
Fe_create_arc is a macro in the font editor to create an arc as part of a character definition. This arc is then approximated by a set of lines. During creation of the arc, the system catches to the shown dot grid.
Fe_create_circle is a macro in the font editor to create a circle as part of a character definition. This circle is then approximated by a set of lines. During creation of the circle, the system catches to the shown dot grid.
Fe_create_font is a macro in the font editor to create a new font (with parameter "n") or modify an existing 1 - byte or 2 - byte font (with parameter "x").
A 2 - byte font can be created or modified if a proper environment setting of LANG such as JAPANESE, KOREAN, ... has been done.
Fe_create_line is a macro in the font editor to create a line as part of a character definition. During creation of the line, the system catches to the shown dot grid.
Fe_create_point is a macro in the font editor to create a point as part of a character definition. During creation of the point, the system catches to the shown dot grid.
Fe_create_polygon is a macro in the font editor to create a polygon as part of a character definition. During creation of the polygon, the system catches to the shown dot grid.
Fe_create_rectangle is a macro in the font editor to create a rectangle as part of a character definition. During creation of the rectangle, the system catches to the shown dot grid.
Fe_edit_char is a macro in the font editor to edit a character with help of a frame. The character and its frame will be displayed on the screen.
Fe_load_me_font is a macro in the font editor to load a font that is not already loaded. All loaded fonts are displayed in a font overview table.
Fe_new_font_name is a macro in the font editor to change the name of the edited font.
Fe_new_uhw is a macro in the font editor to redefine the character underlength, height and width.
Fe_show_char is a macro in the font editor to display a given character.
Fe_show_font is a macro in the font editor to display the match between character numbers and its contents for a selected font on the screen. If you use the 2 - byte capability you will see the first byte.
Fe_store_me_font is a macro in the font editor to store a new or modified font in a file.
Fe_updt_char is a macro in the font editor to update an edited character in the current working environment.
The file menus permit the user to load and save a variety of different files such as drawings, parts and text files. In addition functions such as viewing the contents of a directory, sorting and updating directories are catered for in this menu.
---->|string|---->
The file specification (named |file_name| in the syntax diagrams) can be a string naming a regular file, a device file, or a program.
If the first character of |string| is not the bar character (|), |string| is taken to be the name of a regular file or a device file. If the first character of |string| is the bar character, the rest of |string| is taken to be a shell command. This allows you to pipe the output of a command to the standard input of a shell command, or vice versa, to use the output of a shell command as the input stream for a command.
Example:
CATALOG '.' '| lp'
allows you to pipe the catalog-listing to the line printer.
DEFINE pwd
LOCAL p
OPEN_INFILE 1 '| pwd'
READ_FILE 1 p
CLOSE_FILE 1
DISPLAY p
END_DEFINE
is a macro which allows you to display the current directory.
If |string| is taken to be a filename, trailing blanks are trimmed and the system checks whether it is a valid filename to the operating system. The length of this logical filename could be up to 60 characters on file systems that do not support long filenames, otherwise the length limitation is given through the file system. If a file is created with a name longer than 60 characters, no additional catalog information is stored in the 'hp_catfile' (see DEFINE_CATALOG).
If a filename with more than 14 characters is used, it will be re-named in the operating system so that it is no longer than 14 characters. However if a CATALOG is performed, the filename will appear as it was typed in by the user (provided the 'hp_catfile' has not been deleted or corrupted).
MS Windows Only File name
---->|string|---->
This entry describes the usage of a file name, often referred to as |file_name| in the syntax diagrams. The file name is specified by a string. It can be the name of a regular storage file, or a special device file.
The file name string is trimmed of trailing blanks, and it is checked for being a valid file name to the operating system. In DOS, this limits the size to 8 characters with a 3 character suffix, and only certain characters. However somewhat larger more flexible logical filenames are also allowed. In a DOS environment, if the filename exceeds the DOS limits, the string is used as a logical filename and a physical filename is created as necessary. The correlation between logical and physical filename is maintained in the catalog-file 'hp_cat.fil'. The logical filename allows all characters including blanks and is limited to 60 characters.
In a Windows NT environment using the NTFS filesystem, physical filenames of up to 255 characters are allowed. Logical filenames will not be generated for names under 255 characters that meet the NTFS naming conventions.
Device files are special files that can be set up for various I/O devices. The function COPY_TO_DEVICE provides a reliable method of sending output to devices.
Refer to the DEFAULTS.MAC file for setting up device files.
Some commands, functions, or macros produce temporary files. To prevent name conflicts, avoid using the following filenames:
UNIX
Name Produced by
~~~~ ~~~~~~~~~~~
hp_catfile reading and writing files
log reading file in MI format
work1 NC and FE programs
work2.ASC "
nclog "
mdsi "
MS Windows
Some commands, functions, or macros produce temporary files. To prevent name conflicts, avoid using the following filenames:
Name Produced by
~~~~ ~~~~~~~~~~~
hp_cat.fil reading and writing files
hp_cat.lck
log reading file in MI format
,----------------------------------------------------------,
| ,------------------------------------------, |
v v ^ ^
->(FILLET)-+-->|radius|-+-+->|pnt on 1st elem|--->|pnt on 2nd elem|--+-+-->
v ^ | ^ |
+-----------' '-------->|vertex pnt|---------------------' |
| |
'-->(LITERAL)-->|center pt|-->|beg pt|-->|end pt|-->-------'
FILLET makes a fillet with the given radius tangent to the two selected elements or to the two elements that end in the selected vertex point. See also KEEP_CORNER.
FILLET has no UNDO option, but it is possible to reconstruct the corner in most cases by using CHANGE_FILLET with radius 0.
The LITERAL option is useful when you need a fillet, know exactly where it goes, and don't want to worry about the tangential elements. For human users, this situation rarely arises, but for program-generated commands (like the output of the SAVE command), it is convenient.
The FILTER button displays the dimension filter menu. The commands on this menu allow you to create a filter that is applied whenever you select multiple drawing elements for dimensioning. Drawing elements that match the criteria defined in the filter are not selected. The filter only applies when you select more than one element for dimensioning, and it may be turned on or off at any time.
-->(FOLLOW)--+--->(ON)----,
| |
'--->(OFF)---+---->
FOLLOW turns following on and off. With following on, the origin of the input coordinate system (and thus of the ruler or grid) moves so that it is always equal to the most recently input point of geometric meaning. In this mode, the coordinates of each point are relative to the coordinates of the previous one. With following off, the input coordinate system remains constant.
Most points "of geometric meaning" are points used to indicate vertices of new components, although the origin follows a few points that don't fit this definition -- end points of the translation vector in MODIFY MOVE, for example.
During the measure functions follow is off.
Font_editor is a macro that enables a menu for creation and modification of fonts in ME10 / ME30.
FORMAT_MESSAGE arithmetic function returns a formatted string. Patterns '{n}' (where 'n' is a number) in 'format_string' are replaced with positional string parameters following the format_string parameter.
The maximum number of string parameters is 9.
Example:
FORMAT_MESSAGE 'This {1} an {2} of {3} usage' 'is' 'example' 'FORMAT_MESSAGE'
returns 'This is an example of FORMAT_MESSAGE usage'.
-->(FORMAT_TABLE)--|source LTAB|--|format definition query page|-+
|
+----------------------------<--------------------------------+
|
+------------------------->---------+-->+
| | |
+-+-(HORIZONTAL)-+--+---(ON)-----+--+ |
| | | | | | |
| +-(VERTICAL)---+ +---(OFF)----+ | |
| | | | |
| +--|color|---+ | |
| | | | |
| +-|linetype|-+ | v
| | |
+-(TITLE)-+--(ON)---+----->---------+ |
| | | | |
| +--(OFF)--+ | |
| | |
+-------------------------<---------+ |
|
+-------------------<-------------------+
|
+--+-(DRAWING)-+--------+-+-----------------------+-|location point|--+-->
| | | | | |
| +--(UP)--+ +-(SUBPART)-|part name|-+ |
| | | |
| +-(DOWN)-+ |
| |
+-{outputspecifier}------------------------------------------------+
FORMAT_TABLE generates output from the source logical table using the format specified by the format definition query page (created with MAKE_QUERY_PAGE). The output can be to the currently loaded ME 10 drawing, to the screen, to an external file, or to the prompt list. The formatter has a limit of 256 characters per column.
If the HORIZONTAL or VERTICAL qualifier is given, exactly one option is expected. If that option is either a color or a linetype, then the line will be drawn in the specified color/linetype.
If the HORIZONTAL (VERTICAL) qualifier is not given, no HORIZONTAL (VERTICAL) lines will be generated. If output is to the screen and VERTICAL lines are specified, the fields will be separated by the characters ' | '. If output is to the screen and horizontal lines are specified, every output line will have '-' characters across its entire length. If output is to be written to the drawing with VERTICAL lines, an area the width of a single character will be placed between fields and the line will be centered in that space. The first (and last) vertical lines will be placed at the edge of an area half the width of a space. If output is to the drawing and horizontal lines are specified, the horizontal lines will be approximately centered between the text lines.
When FORMAT_TABLE output is sent to the drawing (DRAWING option), the output table text is controlled by the current text settings in ME 10.
ME 10 Command FORMAT_TABLE Effect =============== =================== TEXT_ADJUST Adjust of entire output table TEXT_ANGLE Angle of entire text block TEXT_LINESPACE Distance between lines in text block TEXT_RATIO Height to width ratio of characters (and table) TEXT_SIZE Height of characters in output table
The SUBPART qualifier gives the name of a subpart into which the FORMAT_TABLE output should be written. If the subpart does not exist, it will be created. A new subpart will be created with the given name, so long as a path to the newly created subpart exists. If the ME 10 drawing only contained a single part 'Top' and the option SUBPART '/depth/2' were used, the FORMAT_TABLE command would abort.
{output specifier} is as defined throughout ME 10, either SCREEN, a file name with optional DEL_OLD or APPEND, or PROMPT_LINE.
Returns a number greater than or equal to zero and less than 1, representing the fractional part of the value of its argument. For all X, X = INT X + FRACT X.