Specifies the type of corner relief to apply to the specified corner of the selected sheet metal body.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim CornerIndex As System.Integer
Dim ReliefType As System.Integer
Dim Length1 As System.Double
Dim Length2 As System.Double
Dim Length3 As System.Double
Dim CenterOnBendLines As System.Boolean
Dim RatioToThickness As System.Boolean
Dim TangentToBend As System.Boolean
Dim AddFilletedCorners As System.Boolean
Dim NarrowCorner As System.Boolean
Dim value As System.Boolean
value = instance.AddCornerReliefType(CornerIndex, ReliefType, Length1, Length2, Length3, CenterOnBendLines, RatioToThickness, TangentToBend, AddFilletedCorners, NarrowCorner) |
Parameters
- CornerIndex
- Index of corner to which to apply the corner relief; -1 to apply it to the corner last added with IFeatureManager::AddCornerReliefCorner
- ReliefType
- Type of corner relief as defined by swCornerReliefType_e
- Length1
- Not used
- Length2
If ReliefType is swCornerReliefType_e... |
Then Length2 is the slot... |
swCornerSquareRelief |
Length of the corner relief |
swCornerObroundRelief |
Length of the corner relief |
swCornerCircularRelief |
Radius of the corner relief |
- Length3
If ReliefType is swCornerReliefType_e... |
Then Length3 is... |
swCornerObroundRelief |
Slot width of the corner relief |
swCornerSquareRelief and FilletedCorners = true |
Radius of filleted corner |
- CenterOnBendLines
True to center the corner relief relative to the bend lines, false to not; valid only if ReliefType is one of the following:
- swCornerReliefType_e.swCornerSquareRelief
- swCornerReliefType_e.swCornerCircularRelief
- swCornerReliefType_e.swCornerObroundRelief
- RatioToThickness
True to use a ratio value to cut the bend area so that the body can be folded, false to not; the ratios for valid relief types are calculated as follows where t = thickness of sheet metal:
If ReliefType is swCornerReliefType_e... |
Then ratios are... |
swCornerSquareRelief |
Length2/t |
swCornerCircularRelief |
Length2/t |
swCornerObroundRelief |
Length2/t and Length3/t |
- TangentToBend
- True to make the corner relief tangent to the inside bend edges, false to not
- AddFilletedCorners
- True to fillet the corner relief corners, false to not; valid only if ReliefType = swCornerReliefType_e.swCornerSquareRelief
- NarrowCorner
True to use the algorithm for large bend radii to narrow the corner relief in the bend area, false to not; valid only if ReliefType is one of the following:
- swCornerReliefType_e.swCornerSquareRelief
- swCornerReliefType_e.swCornerCircularRelief
- swCornerReliefType_e.swCornerObroundRelief
Return Value
True if successful, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2014 FCS, Revision Number 22.0