Inserts a gusset feature for pre-selected faces.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertGussetFeature( _
ByVal Depth As Double, _
ByVal DirType As Short, _
ByVal LocType As Short, _
ByVal BIsProfile As Boolean, _
ByVal ProfileD1 As Double, _
ByVal ProfileD2 As Double, _
ByVal ProfileD3 As Double, _
ByVal ProfileAngle As Double, _
ByVal ProfileD4 As Double, _
ByVal BOffset As Boolean, _
ByVal DProfileOffset As Double, _
ByVal CrvIndex As Integer, _
ByVal BReverseDir As Boolean, _
ByVal BReverseFace As Boolean, _
ByVal BUseLenDim As Boolean _
) As Feature |
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim Depth As Double
Dim DirType As Short
Dim LocType As Short
Dim BIsProfile As Boolean
Dim ProfileD1 As Double
Dim ProfileD2 As Double
Dim ProfileD3 As Double
Dim ProfileAngle As Double
Dim ProfileD4 As Double
Dim BOffset As Boolean
Dim DProfileOffset As Double
Dim CrvIndex As Integer
Dim BReverseDir As Boolean
Dim BReverseFace As Boolean
Dim BUseLenDim As Boolean
Dim value As Feature
value = instance.InsertGussetFeature(Depth, DirType, LocType, BIsProfile, ProfileD1, ProfileD2, ProfileD3, ProfileAngle, ProfileD4, BOffset, DProfileOffset, CrvIndex, BReverseDir, BReverseFace, BUseLenDim)
|
C# | |
---|
Feature InsertGussetFeature(
double Depth,
short DirType,
short LocType,
bool BIsProfile,
double ProfileD1,
double ProfileD2,
double ProfileD3,
double ProfileAngle,
double ProfileD4,
bool BOffset,
double DProfileOffset,
int CrvIndex,
bool BReverseDir,
bool BReverseFace,
bool BUseLenDim
) |
C++/CLI | |
---|
Feature^ InsertGussetFeature(
& double Depth,
& short DirType,
& short LocType,
& bool BIsProfile,
& double ProfileD1,
& double ProfileD2,
& double ProfileD3,
& double ProfileAngle,
& double ProfileD4,
& bool BOffset,
& double DProfileOffset,
& int CrvIndex,
& bool BReverseDir,
& bool BReverseFace,
& bool BUseLenDim
) |
Parameters
- Depth
- Depth of the gusset
- DirType
Direction in which to extrude the gusset:
- 0 = left side
- 1 = center
- 2 = right side
- LocType
Location of the reference plane for the sketch of the gusset:
-
0 = start point
-
1 = midpoint
-
2 = end point
- BIsProfile
- True to use a polygon profile, false to use a triangle
- ProfileD1
Length for Direction 1
- ProfileD2
- Length for Direction 2
- ProfileD3
- Length for Direction 3
- ProfileAngle
- Value for profile angle
- ProfileD4
- Length for Direction 4
- BOffset
- True to offset the reference plane for the sketch, false to not
- DProfileOffset
- Value by which to offset the reference plane for the sketch
- CrvIndex
- Index of the edge to use if multiple intersecting edges exist
- BReverseDir
- If BOffset set to True, then True to reverse direction, false to not
- BReverseFace
Reverse ProfileD1 and ProfileD2 if triangle profile
- or -
Reverse ProfileD1 and ProfileD2 and reverse ProfileD3 and ProfileD4 if polygon profile
- BUseLenDim
- True to use ProfileD4, false to use ProfileAngle
Return Value
Pointer to the newly created
IFeature object
See Also
Availability
SolidWorks 2004 FCS, Revision Number 12.0