Obsolete. Superseded by ISketchManager::SetGridOptions.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim DispGrid As Boolean
Dim GridSpacing As Double
Dim Snap As Boolean
Dim DotStyle As Boolean
Dim NMajor As Short
Dim NMinor As Short
Dim Align2edge As Boolean
Dim AngleSnap As Boolean
Dim AngleUnit As Double
Dim MinorAuto As 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