Language Reference Guide : 4. System Classes : FrameExec Class : GridY Attribute
 
Share this page                  
GridY Attribute
Data Type: integer
4GL Access: RW
The GridY attribute specifies the grid setting for the y-direction, in 1000ths of an inch. When the user moves or resizes any field that has a bias setting of FB_MOVEABLE, FB_RESIZEABLE, or FB_FLEXIBLE, and the grid is in effect, the field automatically snaps to multiples of the grid setting.
OpenROAD enforces the GridY attribute in conjunction with the GridX and IsGridOn attributes. You must set both the GridX and the GridY attributes. In addition, you must set the IsGridOn attribute to TRUE to turn the grid on. If the IsGridOn attribute is set to FALSE, the values of GridX and GridY are irrelevant.
When you are working in Workbench, OpenROAD automatically sets this attribute (and the GridX attribute) to a default value of 250 thousandths of an inch (.25) when you select the Snap to Grid operation.
When you create a frame in 4GL, the default is zero.