WAIT function

---->(WAIT)---->|number|---->

The WAIT function causes the computer to wait approximately the number of seconds specified.


See also


WHERE_USED function

--->(WHERE_USED)->  (same as STRUCTURE command)

WHERE_USED is a "bottom-up" query to display hierarchical structures.

For more information about selection, restriction and output options, see the QUERY function.

You may specify either a single starting element by name, or a selection of elements from a source class. If you choose the starting element by name, you may use the SEL_OLD option to choose a particular revision and version. If you indicate a class name, only the structure for the most recent revision and version are displayed. One structure is displayed for each selected element of the source class.

Each displayed structure consists of the starting element with all of the elements to which it is related. If you choose the RECURSIVE option, all levels of the relation hierarchy are displayed. If you choose the RECURSIVE_TO option, you may indicate the maximum number of levels you wish to see. If you choose neither of these options, only one level of hierarchy is displayed.

The displayed structure only includes the types of elements you select from the destination classes.

If a middle level of the structure includes an element that is not selected for display, elements at higher levels may still be displayed, if they match the destination class specification.

You must specify the order of the attributes to be displayed for the elements of the destination classes.

If you do not include the STRUCTURE_DMS attribute, the structure of each element is indicated by indenting the first display field one space per level. For example, if the bottom element was used in two subassemblies and each of those subassemblies was used in three top-level assemblies, the first display field (typically NAME) would be indented as follows:

  NAME
  =========
  Bottom
   SubA
    TopB
    TopC
    TopD
   SubE
    TopF
    TopG
    TopH

You may instead choose the STRUCTURE_DMS attribute to display the structure number of each element, relative to the bottom element of the structure.

The structure number for the bottom element of a structure is one. The structure number for any other element is the number of its parent, followed by a sequence number, beginning with one. For example, if the bottom element in an assembly was used in two subassemblies and each of those subassemblies was used in three top-level assemblies (as above), the structure numbers would be:

  NAME		STRUCTURE_DMS
  =======================
  Bottom	1
  SubA		1.1
  TopB		1.1.1
  TopC		1.1.2
  TopD		1.1.3
  SubE		1.2
  TopF		1.2.1
  TopG		1.2.2
  TopH		1.2.3

If a particular element is used more than once in a given part of the structure, you may display the number of occurrences with the QUANTITY_DMS option. For example, if the wagon assembly uses four wheels and the tricycle assembly uses three wheels, the output might include the following lines:

  NAME		QUANTITY_DMS
  ==========================
  Wheel		1
   Wagon	4
   Tricycle	3

Security:

You should have read permissions for all of the source and destination elements to be displayed. If you don't have read permission for a source element, no structure is displayed for that element. If you don't have read permission for a destination element, it is not displayed, but other elements that it contains may be displayed.


See also


WHILE ... END_WHILE construct

--->(WHILE)--->|boolean expression|--->+------->-------+->-(END_WHILE)--->
                                       |               |
                                       |               |
                                       `--<-|token|--<-'

This construct defines a loop which is executed as long as the boolean expression in the WHILE clause evaluates to be logical true (evaluates to a non-zero value).


WINDOW function

-->(WINDOW)-+
            |
     +------+
     |
     +---------------+-------------+-+--+-----------+----|window spec|---+->
     v               ^             ^ |  v           ^                    |
     +-(SELECT_PORT)-+-|port spec|-+ |  +-(DYNAMIC)-+                    |
                                     |                                   |
                                     +->-(LAST_WINDOWS)---+ (not scene)  |
                                     |                    |              |
                                     +->-(STORE_WINDOWS)--+ (not scene)  |
                                     |                    |              |
                                     +->-(RECALL_WINDOWS)-+ (not scene)  |
                                     |                    |              |
                                     +->-(FIT)------------+              |
                                     |                    |              |
                                     +->-(KNOB_BX)-------+              |
                                     |                    |              |
                                     +->-(AS_DISPLAYED)---+-|sel port|---+

        window spec

           +------>------+
           |             |
      -->--+->(TWO_PTS) -+--|sel port|-->|point 1|-->|point 2|------------+-->
           |                                                              |
           +->(ZOOM)--------|sel port|-->|scale factor|---------------->--+
           |                                                              |
           +->(CENTER)------|sel port|-->|new center point|------------>--+
           |                                                              |
           +->(PAN)---------|sel port|-->|drawing pnt|->|screen point|->--+

        sel port

           +--|port spec|--+  (with SELECT_PORT if port not yet specified)
           |               |
      -->--+------->-------+-->

        port spec

      -->-+->-(ALL)---------------------->-+-->  (not with DYNAMIC/KNOB_BOX)
          |                                |
          +->-|id viewport|-------------->-+     (number or pick)
          |                                |
          +->-(CURRENT)------------------>-+

WINDOW allows you to control what part of the drawing will be shown in the current viewport.

TWO_PTS changes the window to the box determined by the two points (possibly stretching the box to fit the shape of the viewport).

FIT fits the entire drawing into the port.

ZOOM scales the window by the factor given. WINDOW ZOOM 2 zooms in by a factor of 2; WINDOW ZOOM -2 and WINDOW ZOOM .5 both zoom out by a factor of 2.

CENTER makes the point given the center of the new window.

PAN moves the window so that the drawing point coincides with the screen point.

DYNAMIC does a dynamic redraw of the current viewport while you are defining the window.

With KNOB_BOX, the knob box (if present) is activated, and by turning the knobs the user can change the window by panning horizontally, panning vertically and zooming in/out. KNOB_BOX is similar to option DYNAMIC -- a dynamic redraw shows the window currently defined. The definition of the window with the knob box is finishes when you press the tablet stylus or any key on the keyboard.

AS_DISPLAYED redraws the specified ports.

LAST_WINDOWS gives you the last window adjustments of the specified ports.

STORE_WINDOWS saves the current window adjustments of the specified ports.

RECALL_WINDOWS changes the window adjustment stored by WINDOW STORE_WINDOWS.

ALL affects all viewports, while CURRENT only affects the current viewport.

The WINDOW function has been designed for all practical drawing techniques. However, if you attempt freak zooms/windows the system may report an integer overflow error (for example if you zoom in on an element whose size is more than 1,000,000 times the window size). You should be able to recover from such errors by windowing out.


See also


WINEXEC arithmetic function

---->(WINEXEC)---->|cmd_string|---->

WINEXEC allows you to launch the Windows application given in the cmd_string. For example, a cmd_string of "EXCEL mysheet.xls" would attempt to start Microsoft Excel and load the given spreadsheet. ERROR is returned if an error occurs while executing cmd_string.


See also


WRITE_FILE function

---->(WRITE_FILE)---->|number|---->|token|---->

WRITE_FILE evaluates a token and writes its value as one line of text to the specified file. Token may be a number, point, string, macro name, name, or an expression.


See also


WRITE_LTAB function

--->(WRITE_LTAB)--|name|--+--|row|--------|col|---+--|value|--->
			  |			  |
			  +--(TITLE)--|number|----+

Writes new values to the named user table.

|row| and |col| indicate a location in the data area of the logical table.

(TITLE) and |number| indicate a title string. Titles values may be specified as numbers. These values can be read using READ_LTAB function.

|value| may be a string or number; other token types will generate an error.

An error will be generated if the table is secured against writing.


See also


WUI_AREA_PROPERTY_SCREEN command

---(WUI_AREA_PROPERTY)-+->-----------+
                       |             |
                       +->-|density|-+-|pnt on face|-+--|external editor|--+--->
                       |             |               |                     |
                       +-<-----------+               |                     |
                       |                             |                     |
                       +-<---------------------------+                     |
                       |                                                   |
                       +-<-------------------------------------------------+

                density

                -->-+->-(DENSITY)---+
                    |               |
                    +->-------------+-|density value|-->--

WUI_AREA_PROPERTY_SCREEN calculates properties for every selected area.
External Editor is Notepad as default or is selected from MEEDITOR environment.


See also


WUI_CALCULATOR command


----(WUI_CALCULATOR)------>

WUI_CALCULATOR opens the standard Windows calculator (in its default mode: standard or scientific).

The result of the calculation can be transfered to the command line with the help of the standard Windows copy and paste commands.


See also


WUI_CENTER_LINE_SETTINGS command


----(WUI_CENTER_LINE_SETTINGS)------>

WUI_CENTER_LINE_SETTINGS opens dialog for settings all of the following center line properties.

  - Line Type
  - Line Color
  - Line Width
  - Absolute Offset
  - Relative Offset


See also


WUI_CHANGE_DIM function


----(WUI_CHANGE_DIM)---+---|pnt on element|---+--->
                       |                      |
                       +-------|select|-------+

WUI_CHANGE_DIM is used for changing of the following dimension properties.

  - Lines
  - Arrows
  - Texts
  - Units
  - Text Extensions

This function works on the selected dimensions.


See also


WUI_CHANGE_HATCH_MULTI arithmetic function

WUI_CHANGE_HATCH_MULTI is arithmetic function which is used only in macro definitions.


See also


WUI_CHANGE_HIDDEN_FACE command


-----(WUI_CHANGE_HIDDEN_FACE)------>

WUI_CHANGE_HIDDEN_FACE opens the dialog Change Hidden Face dialog.


See also


WUI_CHANGE_HIDDEN_LINE command


-----(WUI_CHANGE_HIDDEN_LINE)------>

WUI_CHANGE_HIDDEN_LINE opens dialog for changing of Hidden Line color.


See also


WUI_CHANGE_TEXT command


-----(WUI_CHANGE_TEXT)---+---|pnt on element|---+--->
                         |                      |
                         +-------|select|-------+

WUI_CHANGE_TEXT changes the following properties of selected texts:

  - Size, Angle, Linespace, Slant, Ratio, Fill
  - Font
  - Color, Frame, Origin vertex


See also


WUI_COLOR arithmetic function

WUI_COLOR is arithmetic function and is used only in macro definition.


See also


WUI_CONSTRUCTION_SETTINGS command


-----(WUI_CONSTRUCTION_SETTINGS)------>

With WUI_CONSTRUCTION_SETTINGS dialog is possible to sets color and line type of construction geometry.


See also


WUI_CONVERT_FONT command


-----(WUI_CONVERT_FONT)------>

With WUI_CONVERT_FONT dialog is possible to convert Windows fonts into ME10 fonts.


See also


WUI_CREATE_SYMBOLS arithmetic function

WUI_CREATE_SYMBOLS is arithmetic function and is used only in macro definitions.


See also


WUI_DA_DB_MATCH command


-----(WUI_DA_DB_MATCH)------>

WUI_DA_DB_MATCH opens dialog for managing with dimension database.


See also


WUI_DIMENSION_SETTINGS command


-----(WUI_DIMENSION_SETTINGS)------>

WUI_DIMENSION_SETTINGS sets following properties of dimensions.

  - Line, Arrow
  - Text
  - Text Extensions
  - Units
  - Dimension Filter
  - Style
  - Dimension Options
  - Dimension System


See also


WUI_DIM_SET_TEXT_EXT command


-----(WUI_DIM_SET_TEXT_EXT)------>

WUI_DIM_SET_TEXT_EXT opens dialog for setting and managing dimension extension texts and databases.


See also


WUI_EDIT_CURRENT_URL command


-----(WUI_EDIT_CURRENT_URL)------>

With WUI_EDIT_CURRENT_URL dialog is possible to edit current URL info text.


See also


WUI_EDIT_ELEM_URL command


-----(WUI_EDIT_ELEM_URL)----|pnt on element|--->

WUI_EDIT_ELEM_URL opens dialog for editing the element URL info.


See also


WUI_EDIT_GLOBAL_URL command


-----(WUI_EDIT_GLOBAL_URL)------>

WUI_EDIT_GLOBAL_URL opens dialog for editing global URL info text.


See also


WUI_EDIT_PART_URL command


-----(WUI_EDIT_PART_URL)------>

WUI_EDIT_PART_URL opens dialog for editing part's URL.


See also


WUI_EDIT_TEXT command


-----(WUI_EDIT_TEXT)------>

WUI_EDIT_TEXT command opens a dialog for editing of the identified text.


See also


WUI_ENTER_TEXT command


-----(WUI_ENTER_TEXT)----|point|--->

WUI_ENTER_TEXT opens a dialog which allows the user to enter new text, or to load text from a file, or to store the entered text into a file. The user can also change the text settings.


See also


WUI_EXIT command


-----(WUI_EXIT)------>

WUI_EXIT exits ME10. Before exiting asks the user if he/her wants to save the drawing, if any.


See also


WUI_FILE_NAVIGATOR function

                                                                      .--------------------->.
                                                                      |                      |
-->(LOAD)-->+------------------------------>+-->(WUI_FILE_NAVIGATOR)--+---->(ABSOLUTE)------>+-->
            |                               |                         |                      |
            +--------->(SUBPART)------------+                         `-->|location point|-->'
            |                               |
     	    +--------->(KEEP_SCALE)---------+
            |                               |
            +--------->(CHECK_2D)-----------+
            |                               |
            `->(CHECK_2D_RETAIN_DEPENDENCY)-'

WUI_FILE_NAVIGATOR opens dialog with ME10 drawings.
It returns File Name as a string.


See also


WUI_FONT_EDITOR_SELECT command


-----(WUI_FONT_EDITOR_SELECT)------>

WUI_FONT_EDITOR_SELECT allows to create new font, edit, or rename an existing font. It works in conjunction with Font Editor Menu.


See also


WUI_GEOMETRY_SETTINGS command


-----(WUI_GEOMETRY_SETTINGS)------>

WUI_GEOMETRY_SETTINGS allows to set geometry linetype, color and size of line as well as vertex color. It is possible to determine feedback type of b-spline and use spline conversion.


See also


WUI_GRID_SETTINGS command


-----(WUI_GRID_SETTINGS)------>

WUI_GRID_SETTINGS opens dialog for setting up the ruler and the grid.


See also


WUI_HATCH_SETTINGS command


-----(WUI_HATCH_SETTINGS)------>

WUI_HATCH_SETTINGS opens the Hatch Settings dialog, which can be used to setup up the hatch, or the hatch pattern or to select one of integrated standards.


See also


WUI_HIDDEN_SETTINGS command


-----(WUI_HIDDEN_SETTINGS)------>

WUI_HIDDEN_SETTINGS opens dialog for settings hidden line type, line and face color.


See also


WUI_HIDDEN_SHOW_RANGE command


-----(WUI_HIDDEN_SHOW_RANGE)------>

WUI_HIDDEN_SHOW_RANGE opens dialog for show items, range and color for elements in hidden mode.


See also


WUI_HL_Z_VALUES command


-----(WUI_HL_Z_VALUES)------>

WUI_HL_Z_VALUES allows to sets current Hidden Line Z value, offset value and load value.


See also


WUI_ICON_EDITOR command


-----(WUI_ICON_EDITOR)------>

WUI_ICON_EDITOR opens Image Editor.


See also


WUI_INPUT command


-----(WUI_INPUT)------>

WUI_INPUT allows to input ASCII macro file.


See also

  • INPUT

    WUI_INSERT_PART command

    
    -----(WUI_INSERT_PART)------>
    
    

    WUI_INSERT_PART opens a dialog for loading drawings. This dialog has the same capabilities as the LOAD command.


    See also


    WUI_KEYS_SETTINGS command

    
    -----(WUI_KEYS_SETTINGS)------>
    
    

    WUI_KEYS_SETTINGS shows the Key Definitions dialog.


    See also


    WUI_LINETYPE arithmetic function

    WUI_LINETYPE is arithmetic function and is used only in macro definitions.


    See also


    WUI_LOAD_FONT command

    
    -----(WUI_LOAD_FONT)------>
    
    

    WUI_LOAD_FONT opens dialog for loading font. The Font File must be stored with the STORE_FONT command.


    See also


    WUI_LOAD_IMAGE command

    
    -----(WUI_LOAD_IMAGE)----|pixmap name|-->
    
    

    Command WUI_LOAD_IMAGE opens dialog for loading images. Images could be in TIFF, JPEG or BMP format.

    Command WUI_LOAD_TIFF is obsoleted. It is maintained only for compatibility reasons.


    See also


    WUI_LOAD_MACRO command

    
    -----(WUI_LOAD_MACRO)------>
    
    

    WUI_LOAD_MACRO allows to load macro in binary notation.


    See also


    WUI_NEW command

    
    -----(WUI_NEW)------>
    
    

    WUI_NEW prepares the environment for a new drawing. Beforte that it asks the user to save the drawing, if any.


    See also


    WUI_OLE_BROWSER command

    
    -----(WUI_OLE_BROWSER)------>
    
    

    WUI_OLE_BROWSER allows to view and edit all of the OLE objects properties.


    See also


    WUI_OPEN_FILE command

    
    -----(WUI_OPEN_FILE)------>
    
    

    WUI_OPEN_FILE opens dialog for loading of a ME10 drawing. If some drawing already exists in the current session, then the user will be asked to save the drawing.


    See also


    WUI_PARTS_SPOTLIGHT command

    
    -----WUI_PARTS_SPOTLIGHT------>
    
    

    WUI_PARTS_SPOTLIGHT dialog sets color and linetype for spotlighted parts.


    See also


    WUI_PART_BROWSER command

    
    -----(WUI_PART_BROWSER)------>
    
    

    WUI_PART_BROWSER allows to view the part structure and to execute certain actions, like rename, share, show, make symbol.


    See also


    WUI_PD_ADVANCE_CONSTRAINTS command

    
    -----(WUI_PD_ADVANCE_CONSTRAINTS)------>
    
    

    WUI_PD_ADVANCE_CONSTRAINTS opens dialog for advance change and show values of PD constraints.


    See also


    WUI_PD_CURRENT_CONSTRAINTS command

    
    -----(WUI_PD_CURRENT_CONSTRAINTS)------>
    
    

    WUI_PD_CURRENT_CONSTRAINTS opens dialog for changes and show values of PD constraints.


    See also


    WUI_PD_DISPLAY command

    
    -----(WUI_PD_DISPLAY)------>
    
    

    WUI_PD_DISPLAY allows to display or hide parametric geometry status.


    See also


    WUI_PD_GENERATE_CONSTRAINTS command

    
    -----(WUI_PD_GENERATE_CONSTRAINTS)------>
    
    

    WUI_PD_GENERATE_CONSTRAINTS opens dialog to define new constraint.


    See also


    WUI_PD_ICONS command

    
    -----(WUI_PD_ICONS)------>
    
    

    WUI_PD_ICONS dialog sets size and color of PD icons.


    See also


    WUI_PD_RIGIDS command

    
    -----(WUI_PD_RIGIDS)------>
    
    

    WUI_PD_RIGIDS opens dialog for assigning, showing and clearing PD rigids.


    See also


    WUI_PIXMAP_BROWSER command

    
    -----(WUI_PIXMAP_BROWSER)------>
    
    

    WUI_PIXMAP_BROWSER allows to view and manage the pixmap objects.


    See also


    WUI_PRINT command

    
    -----(WUI_PRINT)------>
    
    

    WUI_PRINT allows to print drawing with all printer and paper settings.


    See also


    WUI_RC_COLOR_SETTINGS command

    
    -----(WUI_RC_COLOR_SETTINGS)------>
    
    

    WUI_RC_COLOR_SETTINGS opens dialog to set original, revised and identical drawings.


    See also


    WUI_RC_LOAD_FILES command

    
    -----(WUI_RC_LOAD_FILES)------>
    
    

    WUI_RC_LOAD_FILES allows to open original and revised drawings with the help of the File Open dialog.


    See also


    WUI_REFLINE_SETTINGS function

    
    -----(WUI_REFLINE_SETTINGS)------>
    
    

    WUI_REFLINE_SETTINGS allows to set color, lintype and width of refline setings as well as its terminator.


    See also


    WUI_SAVE_AS_FILE command

    
    -----(WUI_SAVE_AS_FILE)------>
    
    

    WUI_SAVE_AS_FILE STORE allows to store drawing to the file. It is possible to use some other store formats like DWG, DXF, IGES, VRML ...


    See also


    WUI_SAVE_FILE command

    
    -----(WUI_SAVE_FILE)------>
    
    

    WUI_SAVE_FILE saves titled document to file. If Title not exist dialog for saving drawing will be opened. Command saves drawing without asking for a permission to replace the drawing file.


    See also


    WUI_SAVE_FONT command

    
    -----(WUI_SAVE_FONT)------>
    
    

    WUI_SAVE_FONT dialog enables to save the selected font or all fonts to a named file.


    See also


    WUI_SAVE_MACRO command

    
    -----(WUI_SAVE_MACRO)------>
    
    

    WUI_SAVE_MACRO dialog saves the selected macro or all macros to a named file.


    See also


    WUI_SELECT command

    
     ---->(WUI_SELECT)---->
    
    

    WUI_SELECT show a dialog which can be used as an interface to the SELECT command.


    See also


    WUI_SET_TITLE command

    
    -----(WUI_SET_TITLE)--|--|name of title|--+-->
                          |                   |
                          +-----(DEFAULT)-----+
    

    WUI_SET_TITLE allows to set title of the drawing. A DEFAULT title is 'Untitled'.


    See also


    WUI_SHOW command

    
    -----(WUI_SHOW)------>
    
    

    WUI_SHOW command opens dialog for selectively showing various elements.


    See also


    WUI_STORE_FONT command

    
    -----(WUI_STORE_FONT)------>
    
    

    WUI_STORE_FONT dialog enables to store selected font or all fonts to file in a binary format.


    See also


    WUI_STORE_PART command

    
    -----(WUI_STORE_PART)------>
    
    

    WUI_STORE_PART allows to store selected part to a file. Different file formats are supported.


    See also


    WUI_SYMMETRY_LINE_SETTINGS command

    
    -----(WUI_SYMMETRY_LINE_SETTINGS)------>
    
    

    WUI_SYMMETRY_LINE_SETTINGS allows to set color, lintype and width of symmetric line setings.


    See also


    WUI_SYSTEM_SETTINGS command

    
    -----(WUI_SYSTEM_SETTINGS)------>
    
    

    WUI_SYSTEM_SETTINGS allows to set and save environmet, to set copilot functionality, clipboard and submenu's cascade timeout.


    See also


    WUI_TEXT_SETTINGS command

    
    -----(WUI_TEXT_SETTINGS)------>
    
    

    WUI_TEXT_SETTINGS dialog allows to set all text environmet.


    See also


    WUI_TOOLBAR_LOAD command

    
    -----(WUI_TOOLBAR_LOAD)------>
    
    

    WUI_TOOLBAR_LOAD opens the dialog for loading Toolbars into the current layout.


    See also


    WUI_TOOLBAR_LOAD_ALL command

    
    -----(WUI_TOOLBAR_LOAD_ALL)------>
    
    

    WUI_TOOLBAR_LOAD_ALL opens the dialog for loading Toolbars. The current layout is destroyed before Toolbars are loaded.


    See also


    WUI_TOOLBAR_SAVE command

    
    -----(WUI_TOOLBAR_SAVE)----->
    
    

    WUI_TOOLBAR_SAVE opens the dialog for saving Toolbars to a file.


    See also


    WUI_TOOLBAR_SAVE_ALL command

    
    -----(WUI_TOOLBAR_SAVE_ALL)------>
    
    

    WUI_TOOLBAR_SAVE_ALL opens the dialog that allows the saving of whole layout to a file.


    See also


    WUI_TOOLS_CUSTOMIZE command

    
    -----(WUI_TOOLS_CUSTOMIZE)------>
    
    

    WUI_TOOLS_CUSTOMIZE opens dialog for managing the layout properties:

      - Toolbar; create ,rename, delete or hide
      - Add commands to toolbars
      - Create new user commands
    


    See also


    WUI_VIEWPORT_SETTINGS command

    
    -----(WUI_VIEWPORT_SETTINGS)------>
    
    

    WUI_VIEWPORT_SETTINGS allows to set the viewport properties. These settings are not valid for the existing viewports, only for the new ones.


    See also


    X_OF point ===> number
    X_OF point_3d ===> number

    Returns the x-coordinate of the argument point (vector).


    See also


    XIM_INITIALIZE

    Initializes the XIM (X Input Method) on supported locales.


    See also


    Y_OF point ===> number
    Y_OF point_3d ===> number

    Returns the y-coordinate of the argument point (vector).


    See also


    Z_OF point_3d ===> number

    Returns the z-coordinate of the argument point (vector).


    See also