Creates a linear sketch pattern.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function CreateLinearSketchStepAndRepeat( _
ByVal NumX As Integer, _
ByVal NumY As Integer, _
ByVal SpacingX As Double, _
ByVal SpacingY As Double, _
ByVal AngleX As Double, _
ByVal AngleY As Double, _
ByVal DeleteInstances As String, _
ByVal XSpacingDim As Boolean, _
ByVal YSpacingDim As Boolean, _
ByVal AngleDim As Boolean, _
ByVal CreateNumOfInstancesDimInXDir As Boolean, _
ByVal CreateNumOfInstancesDimInYDir As Boolean _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISketchManager
Dim NumX As Integer
Dim NumY As Integer
Dim SpacingX As Double
Dim SpacingY As Double
Dim AngleX As Double
Dim AngleY As Double
Dim DeleteInstances As String
Dim XSpacingDim As Boolean
Dim YSpacingDim As Boolean
Dim AngleDim As Boolean
Dim CreateNumOfInstancesDimInXDir As Boolean
Dim CreateNumOfInstancesDimInYDir As Boolean
Dim value As Boolean
value = instance.CreateLinearSketchStepAndRepeat(NumX, NumY, SpacingX, SpacingY, AngleX, AngleY, DeleteInstances, XSpacingDim, YSpacingDim, AngleDim, CreateNumOfInstancesDimInXDir, CreateNumOfInstancesDimInYDir)
|
C# | |
---|
bool CreateLinearSketchStepAndRepeat(
int NumX,
int NumY,
double SpacingX,
double SpacingY,
double AngleX,
double AngleY,
string DeleteInstances,
bool XSpacingDim,
bool YSpacingDim,
bool AngleDim,
bool CreateNumOfInstancesDimInXDir,
bool CreateNumOfInstancesDimInYDir
) |
C++/CLI | |
---|
bool CreateLinearSketchStepAndRepeat(
& int NumX,
& int NumY,
& double SpacingX,
& double SpacingY,
& double AngleX,
& double AngleY,
& String^ DeleteInstances,
& bool XSpacingDim,
& bool YSpacingDim,
& bool AngleDim,
& bool CreateNumOfInstancesDimInXDir,
& bool CreateNumOfInstancesDimInYDir
) |
Parameters
- NumX
Total number of instances along the x axis, including the seed
- NumY
- Total number of instances along the y axis, including the seed
- SpacingX
- Spacing between instances along the x axis
- SpacingY
- Spacing between instances along the y axis
- AngleX
Angle for direction 1 relative to the x axis
- AngleY
Angle for direction 2 relative to the y axis
- DeleteInstances
Number of instances to delete, passed as a string in the format: "(a) (b) (c) "
- XSpacingDim
- True to display the spacing between instances dimension along the x axis in the graphics area, false to not
- YSpacingDim
- True to display the spacing between instances dimension along the y axis in the graphics area, false to not
- AngleDim
- True to display the angle dimension between axes in the graphics area, false to not
- CreateNumOfInstancesDimInXDir
- True to display the number of instances in the x direction dimension in the graphics area, false to not
- CreateNumOfInstancesDimInYDir
- True to display the number of instances in the y direction dimension in the graphics area, false to not
Return Value
True if the linear sketch pattern is created, false if not
Example
Remarks
See Also
Availability
SolidWorks 2010 FCS, Revision Number 18.0