Sets the options for the grid.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ISketchManager
Dim Display As Boolean
Dim Spacing As Double
Dim Snap As Boolean
Dim DotStyle As Boolean
Dim NumMajor As Short
Dim NumMinor As Short
Dim AlignToEdge As Boolean
Dim AngleSnap As Boolean
Dim AngleUnit As Double
Dim MinorAuto As Boolean
instance.SetGridOptions(Display, Spacing, Snap, DotStyle, NumMajor, NumMinor, AlignToEdge, AngleSnap, AngleUnit, MinorAuto)
|
Parameters
- Display
- True to display the grid, false if not
- Spacing
- Snap distance
- Snap
- True to snap to grid, false to not
- DotStyle
- True for dotted grids, false if not
- NumMajor
- Number of minors in major
- NumMinor
- Number of snaps in minor
- AlignToEdge
- True if to align to an edge, false if not
- AngleSnap
- True to snap to angle, false to not
- AngleUnit
- Angle at which to snap
- MinorAuto
- True if the minor grids are to be set automatically, false if not
Remarks
See Also
Availability
SolidWorks 2008 FCS, Revision Number 16.0