Creates a reference surface by sweeping the selected profile along the selected sweep curves.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertSweepSurface2( _
ByVal Propagate As Boolean, _
ByVal TwistCtrlOption As Short, _
ByVal KeepTangency As Boolean, _
ByVal BAdvancedSmoothing As Boolean, _
ByVal StartMatchingType As Short, _
ByVal EndMatchingType As Short, _
ByVal PathAlign As Short, _
ByVal UseFeatScope As Boolean, _
ByVal UseAutoSelect As Boolean, _
ByVal TwistAngle As Double, _
ByVal BMergeSmoothFaces As Boolean _
) As Feature |
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim Propagate As Boolean
Dim TwistCtrlOption As Short
Dim KeepTangency As Boolean
Dim BAdvancedSmoothing As Boolean
Dim StartMatchingType As Short
Dim EndMatchingType As Short
Dim PathAlign As Short
Dim UseFeatScope As Boolean
Dim UseAutoSelect As Boolean
Dim TwistAngle As Double
Dim BMergeSmoothFaces As Boolean
Dim value As Feature
value = instance.InsertSweepSurface2(Propagate, TwistCtrlOption, KeepTangency, BAdvancedSmoothing, StartMatchingType, EndMatchingType, PathAlign, UseFeatScope, UseAutoSelect, TwistAngle, BMergeSmoothFaces)
|
C# | |
---|
Feature InsertSweepSurface2(
bool Propagate,
short TwistCtrlOption,
bool KeepTangency,
bool BAdvancedSmoothing,
short StartMatchingType,
short EndMatchingType,
short PathAlign,
bool UseFeatScope,
bool UseAutoSelect,
double TwistAngle,
bool BMergeSmoothFaces
) |
C++/CLI | |
---|
Feature^ InsertSweepSurface2(
& bool Propagate,
& short TwistCtrlOption,
& bool KeepTangency,
& bool BAdvancedSmoothing,
& short StartMatchingType,
& short EndMatchingType,
& short PathAlign,
& bool UseFeatScope,
& bool UseAutoSelect,
& double TwistAngle,
& bool BMergeSmoothFaces
) |
Parameters
- Propagate
- True propagates the sweep to the next edge, false causes the sweep to occur only on the selected edge; to propagate to the next edge, the next edge must be tangent to the current edge
- TwistCtrlOption
Twist control option as defined by swTwistControlType_e
- KeepTangency
If the sweep section has tangent segments, then True to cause the corresponding surfaces in the resulting sweep to be tangent, false to not
- BAdvancedSmoothing
If the sweep section has circular or elliptical arcs, then True to approximate the sections and smooth the surfaces, false to not
- StartMatchingType
Tangency type as defined by swTangencyType_e
- EndMatchingType
Tangency type as defined by swTangencyType_e
- PathAlign
- Align path type (see Remarks)
- UseFeatScope
- True if the feature only affects selected bodies, false if the feature affects all bodies
- UseAutoSelect
- True if the feature only affects selected bodies, false if the feature affects all bodies
- TwistAngle
- If TwistCtrlOption set to swTwistControlConstantTwistAlongPath, then specify end twist angle
- BMergeSmoothFaces
- True to merge smooth faces, false to not
Return Value
Pointer to the
IFeature object
Remarks
See Also
Availability
SolidWorks 2005 FCS, Revision Number 13.0