Sets the options for the grid.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub SetGridOptions( _
ByVal Display As System.Boolean, _
ByVal Spacing As System.Double, _
ByVal Snap As System.Boolean, _
ByVal DotStyle As System.Boolean, _
ByVal NumMajor As System.Short, _
ByVal NumMinor As System.Short, _
ByVal AlignToEdge As System.Boolean, _
ByVal AngleSnap As System.Boolean, _
ByVal AngleUnit As System.Double, _
ByVal MinorAuto As System.Boolean _
) |
Visual Basic (Usage) | |
---|
Dim instance As ISketchManager
Dim Display As System.Boolean
Dim Spacing As System.Double
Dim Snap As System.Boolean
Dim DotStyle As System.Boolean
Dim NumMajor As System.Short
Dim NumMinor As System.Short
Dim AlignToEdge As System.Boolean
Dim AngleSnap As System.Boolean
Dim AngleUnit As System.Double
Dim MinorAuto As System.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