Obsolete. Superseded by ISketchManager::SetGridOptions.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub GridOptions( _
ByVal DispGrid As System.Boolean, _
ByVal GridSpacing As System.Double, _
ByVal Snap As System.Boolean, _
ByVal DotStyle As System.Boolean, _
ByVal NMajor As System.Short, _
ByVal NMinor As System.Short, _
ByVal Align2edge As System.Boolean, _
ByVal AngleSnap As System.Boolean, _
ByVal AngleUnit As System.Double, _
ByVal MinorAuto As System.Boolean _
) |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim DispGrid As System.Boolean
Dim GridSpacing As System.Double
Dim Snap As System.Boolean
Dim DotStyle As System.Boolean
Dim NMajor As System.Short
Dim NMinor As System.Short
Dim Align2edge As System.Boolean
Dim AngleSnap As System.Boolean
Dim AngleUnit As System.Double
Dim MinorAuto As System.Boolean
instance.GridOptions(DispGrid, GridSpacing, Snap, DotStyle, NMajor, NMinor, Align2edge, AngleSnap, AngleUnit, MinorAuto) |
Parameters
- DispGrid
True to display the grid, false to not
- GridSpacing
Snap distance
- Snap
True to snap to grid, false to not
- DotStyle
True for dotted grids, false for not
- NMajor
Number of minors in major
- NMinor
Number of snaps in minor
- Align2edge
True if to align to an edge, false to not
- AngleSnap
True to snap to angle, false to not
- AngleUnit
Value of angle to which to snap
- MinorAuto
True if the minor grids are to be set automatically, false if not
Remarks
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0