Inserts a meter flange in a sheet metal part.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertSheetMetalMiterFlange( _
ByVal UseDefaultRadius As Boolean, _
ByVal GlobalRadius As Double, _
ByVal RipGap As Double, _
ByVal UseDefaultRelief As Boolean, _
ByVal UseReliefRatio As Boolean, _
ByVal ReliefRatio As Double, _
ByVal ReliefWidth As Double, _
ByVal ReliefDepth As Double, _
ByVal ReliefType As Integer, _
ByVal TrimSideBends As Boolean, _
ByVal FlangePos As Integer, _
ByVal OffsetDist1 As Double, _
ByVal OffsetDist2 As Double, _
ByVal PCBA As CustomBendAllowance _
) As Feature |
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim UseDefaultRadius As Boolean
Dim GlobalRadius As Double
Dim RipGap As Double
Dim UseDefaultRelief As Boolean
Dim UseReliefRatio As Boolean
Dim ReliefRatio As Double
Dim ReliefWidth As Double
Dim ReliefDepth As Double
Dim ReliefType As Integer
Dim TrimSideBends As Boolean
Dim FlangePos As Integer
Dim OffsetDist1 As Double
Dim OffsetDist2 As Double
Dim PCBA As CustomBendAllowance
Dim value As Feature
value = instance.InsertSheetMetalMiterFlange(UseDefaultRadius, GlobalRadius, RipGap, UseDefaultRelief, UseReliefRatio, ReliefRatio, ReliefWidth, ReliefDepth, ReliefType, TrimSideBends, FlangePos, OffsetDist1, OffsetDist2, PCBA)
|
C# | |
---|
Feature InsertSheetMetalMiterFlange(
bool UseDefaultRadius,
double GlobalRadius,
double RipGap,
bool UseDefaultRelief,
bool UseReliefRatio,
double ReliefRatio,
double ReliefWidth,
double ReliefDepth,
int ReliefType,
bool TrimSideBends,
int FlangePos,
double OffsetDist1,
double OffsetDist2,
CustomBendAllowance PCBA
) |
C++/CLI | |
---|
Feature^ InsertSheetMetalMiterFlange(
& bool UseDefaultRadius,
& double GlobalRadius,
& double RipGap,
& bool UseDefaultRelief,
& bool UseReliefRatio,
& double ReliefRatio,
& double ReliefWidth,
& double ReliefDepth,
& int ReliefType,
& bool TrimSideBends,
& int FlangePos,
& double OffsetDist1,
& double OffsetDist2,
& CustomBendAllowance^ PCBA
) |
Parameters
- UseDefaultRadius
- True to use default bend radius, false to use GlobalRadius
- GlobalRadius
Global bend radius
- RipGap
Rip-gap distance
- UseDefaultRelief
True to use parent bend's ratio, false to not
- UseReliefRatio
- True to use custom relief ratio, false to not
- ReliefRatio
- If useReliefRatio is True, then specify relief ratio
- ReliefWidth
If UseReliefRatio is True and ReliefType is swSheetMetalReliefRectangular or swSheetMetalReliefObround, then specify relief depth
- ReliefDepth
If UseReliefRatio is True and ReliefType is swSheetMetalReliefRectangular or swSheetMetalReliefObround, then specify relief depth
- ReliefType
- Relief type as defined by swSheetMetalReliefTypes_e; valid selections:
- TrimSideBends
- True to trim side bends, false to not
- FlangePos
Flange position as defined by swFlangePositionTypes_e; valid selections:
-
swFlangePositionTypeMaterialInside
-
swFlangePositionTypeMaterialOutside
-
swFlangePositionTypeBendOutside
- OffsetDist1
- Starting offset distance if partial flange
- OffsetDist2
- Ending offset distance if partial flange
- PCBA
If... |
Then... |
non-NULL |
Pointer to ICustomBendAllowance object for which required values have been set |
NULL |
Parent bend's bend allowance is used |
Return Value
Pointer to the IFeature object or NULL
See Also
Availability
SolidWorks 2005 FCS, Revision Number 13.0