de_set_grid_snap_type()
Sets the snap type to one or more of grid, pin, or vertex for the current window. Returns: none.
Syntax:
de_set_grid_snap_type(type);
where
type is the type of snap, where:
- PREF_SNAP_TO_GRID = cursor will snap to the nearest grid point
- PREF_SNAP_TO_PIN = cursor will snap to the nearest pin
- PREF_SNAP_TO_VERTEX = cursor will snap to the nearest vertex on a shape
- PREF_SNAP_TO_EDGE = cursor will snap and slide along the nearest edge of a shape
- PREF_PREF_SNAP_TO_MIDPOINT = cursor will snap to the midpoint of a line if the midpoint is within the snap radius
- PREF_SNAP_TO_ARC_CENTER = cursor will snap to the center of an arc or circle
- SNAP_TO_INTERSECT = cursor will snap to the intersection of lines or edges of two different objects
| Note For details on grid snap mode behavior, refer to the Schematic Capture & Layout manual. |
Example:
de_set_grid_snap_type(PREF_SNAP_TO_GRID|PREF_SNAP_TO_PIN);
Where Used:
Schematic, Layout
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()