GridSetup (Schematic Editor)
Changes the settings on the schematic grid
| UI Access | Schematic>Grid Setup | ||||||
| Parameters |
|
||||||
| Return Value | None |
For more information about the component name, schematic IDs, and formats, see the section Editor Scripting IDs.
| Python Syntax | GridSetup() |
| Python Example |
|
| VB Syntax | GridSetup() |
| VB Example |
|
For example:
oEditor.GridSetup Array(
"NAME:Options", _
"MajorGrid:=", "10mm", _
"Divisions:=", 10, _
"MajorColor:=", 0x00ff0000, _ // Red
"MinorColor:=", 0x0000ff00, _ // Green
"ShowGrid:=", true, _
"SnapToGrid:=", true, _
"BackgroundColor:=", 0x00ffffff, _ // White
"SaveAsDefault:=", false)