pymel.core.nodetypes.Grid

Inheritance diagram of Grid

class Grid(*args, **kwargs)

class counterpart of mel function grid

This command changes the size and spacing of lines on the ground plane displayed in the perspective and orthographic views. This command lets you reset the ground plane, change its size and grid line spacing, grid subdivisions and display options. In query mode, return type is based on queried flag.

getDefault(**kwargs)

Used to specify/query default values.

Derived from mel command maya.cmds.grid

getDisplayAxes(**kwargs)

Specify true to display the grid axes.

Derived from mel command maya.cmds.grid

getDisplayAxesBold(**kwargs)

Specify true to accent the grid axes by drawing them with a thicker line.

Derived from mel command maya.cmds.grid

getDisplayDivisionLines(**kwargs)

Specify true to display the subdivision lines between grid lines.

Derived from mel command maya.cmds.grid

getDisplayGridLines(**kwargs)

Specify true to display the grid lines.

Derived from mel command maya.cmds.grid

getDisplayOrthographicLabels(**kwargs)

Specify true to display the grid line numeric labels in the orthographic views.

Derived from mel command maya.cmds.grid

getDisplayPerspectiveLabels(**kwargs)

Specify true to display the grid line numeric labels in the perspective view.

Derived from mel command maya.cmds.grid

getDivisions(**kwargs)

Sets the number of subdivisions between major grid lines. The default is 5. If the spacing is 5 units, setting divisions to 5 will cause division lines to appear 1 unit apart.

Derived from mel command maya.cmds.grid

getOrthographicLabelPosition(**kwargs)

The position of the grid’s numeric labels in orthographic views. Valid values are “axis” and “edge”.

Derived from mel command maya.cmds.grid

getPerspectiveLabelPosition(**kwargs)

The position of the grid’s numeric labels in perspective views. Valid values are “axis” and “edge”.

Derived from mel command maya.cmds.grid

getSize(**kwargs)

Sets the size of the grid in linear units. The default is 12 units.

Derived from mel command maya.cmds.grid

getSpacing(**kwargs)

Sets the spacing between major grid lines in linear units. The default is 5 units.

Derived from mel command maya.cmds.grid

getStyle(**kwargs)

This flag is obsolete and should not be used.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.grid

getToggle(**kwargs)

Turns the ground plane display off in all windows, including orthographic windows. Default is true.

Derived from mel command maya.cmds.grid

Previous topic

pymel.core.nodetypes.GravityField

Next topic

pymel.core.nodetypes.GroupId

Core

Core Modules

Other Modules

This Page