Creates a curve-driven pattern feature.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub FeatureCurvePattern( _
ByVal Num1 As Integer, _
ByVal Spacing1 As Double, _
ByVal Num2 As Integer, _
ByVal Spacing2 As Double, _
ByVal FlipDir1 As Boolean, _
ByVal FlipDir2 As Boolean, _
ByVal EqualSpacing1 As Boolean, _
ByVal EqualSpacing2 As Boolean, _
ByVal UseCentroid As Boolean, _
ByVal AlignToSeed As Boolean, _
ByVal OffsetCurve As Boolean, _
ByVal PatternSeedOnly As Boolean _
) |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim Num1 As Integer
Dim Spacing1 As Double
Dim Num2 As Integer
Dim Spacing2 As Double
Dim FlipDir1 As Boolean
Dim FlipDir2 As Boolean
Dim EqualSpacing1 As Boolean
Dim EqualSpacing2 As Boolean
Dim UseCentroid As Boolean
Dim AlignToSeed As Boolean
Dim OffsetCurve As Boolean
Dim PatternSeedOnly As Boolean
instance.FeatureCurvePattern(Num1, Spacing1, Num2, Spacing2, FlipDir1, FlipDir2, EqualSpacing1, EqualSpacing2, UseCentroid, AlignToSeed, OffsetCurve, PatternSeedOnly)
|
C# | |
---|
void FeatureCurvePattern(
int Num1,
double Spacing1,
int Num2,
double Spacing2,
bool FlipDir1,
bool FlipDir2,
bool EqualSpacing1,
bool EqualSpacing2,
bool UseCentroid,
bool AlignToSeed,
bool OffsetCurve,
bool PatternSeedOnly
) |
C++/CLI | |
---|
void FeatureCurvePattern(
& int Num1,
& double Spacing1,
& int Num2,
& double Spacing2,
& bool FlipDir1,
& bool FlipDir2,
& bool EqualSpacing1,
& bool EqualSpacing2,
& bool UseCentroid,
& bool AlignToSeed,
& bool OffsetCurve,
& bool PatternSeedOnly
) |
Parameters
- Num1
Number of instances in the first direction, including the original
- Spacing1
Spacing in radians
- Num2
Number of instances in the second direction
- Spacing2
Spacing in radians
- FlipDir1
True flips the direction of the first direction, false does not
- FlipDir2
True flips the direction of the second direction, false does not
- EqualSpacing1
True uses equal spacing between instances in the first direction, false does not
- EqualSpacing2
True uses equal spacing between instances in the second direction, false does not
- UseCentroid
True uses the centroid as reference point, false does not
- AlignToSeed
True aligns the new objects with the seed feature, false does not
- OffsetCurve
True offsets the curve, false transforms it
- PatternSeedOnly
True uses only the seed feature in the second direction, false does not
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0