5 the working view grid, 6 snap mode, 7 aligning multiple objects – Micromod Micro-PWC: 53PW6000 MicroPWC Configuration Guide User Manual

Page 101

Advertising
background image

Micro-PWC CONFIGURATION GUIDE

Grafx Editor 81

in the child window, a Zoom To Fit operation is automatically performed so that the entire graphic is dis-
played; once Zoom and Pan operations have been performed by the user, the child window may contain
only a portion of the entire model.

4.2.1.5 The Working View Grid

The grid used in the Working View area of a child window aids in the construction of models. Use the grid
as you would a piece of graph paper, as a guide in designing objects. The grid size, line style (lines, dots,
hidden) and grid color can all be configured using the Grid tab on the Settings window. See the section
titled

Section 4.2.5.1.8, Setting the Grid Attributes

, for details.

Although the grid is useful by itself, it is much more powerful when Snap mode is set to the grid selection.

4.2.1.6 Snap Mode

Snap mode is a valuable tool which aids in the selecting of points and aligning objects. Snapping helps
select the same or similar points while building objects. Snap mode can have one of three possible values,

selected by clicking on the appropriate Main toolbar button: Snap Off

,

Snap To Grid

,

or

Snap To Gravity

. By default, snap mode is set to Snap To Grid.

These options are also accessible from the Grafx menus by selecting the menu sequence View > Snap.

In Snap To Grid mode, every point that is selected is adjusted to the nearest grid intersection, whether the
grid is visible or not, and always works with the current grid size. This is useful when creating horizontal or
vertical lines, arrays of buttons, or other symmetric displays.

Objects created using the Grafx editor and submodels provided by MicroMod Automation contain pre-
defined points
. Pre-defined points can be used to rotate, scale, and make connections to the object. For
Polylines, Lines, and Splines, the pre-defined points are those used when these objects were created. Cir-
cles have pre-defined points at the 12, 3, 6 and 9 o'clock positions. Rectangles have pre-defined points at
all four corners, and at the midpoint of each side. Arcs have pre-defined points at the center and ends of
the arc.

Selecting Snap To Gravity causes the point selection to snap to the closest pre-defined point of an object;
that is, clicking a point on or very near an object causes the nearest pre-defined point in the object to be
selected. For example, if a point near the corner of an existing rectangle is picked while the user is creating
a new object, the pre-defined point at the corner of the rectangle will be used in the new object. Snap To
Gravity
helps pick points to connect objects together.

Snap To Gravity can be used in conjunction with the reference point of an object to aid in the placement
and interconnection of objects and submodels on a graphic. See the sub-sections

Section 4.2.6.8.1,

Changing an Object's Reference Point

and

Section 4.2.8, Object Placement Example

for more information

on reference points.

4.2.1.7 Aligning Multiple Objects

The alignment buttons become available when more than one object is selected. (Press and hold the

S

HIFT

key while clicking on the objects to select multiple objects.) The last object selected is the one with which
all of the selected objects will be aligned. There are four alignment options

Note

The Grafx Editor maintains an Aspect Ratio 4 wide by 3 high, to
maintain correct proportions of models during scaling operations.

Advertising