Creates an extruded reference surface.
.NET Syntax
Visual Basic (Declaration) | |
---|
Sub FeatureExtruRefSurface2( _
ByVal Sd As Boolean, _
ByVal Flip As Boolean, _
ByVal Dir As Boolean, _
ByVal T1 As Integer, _
ByVal T2 As Integer, _
ByVal D1 As Double, _
ByVal D2 As Double, _
ByVal Dchk1 As Boolean, _
ByVal Dchk2 As Boolean, _
ByVal Ddir1 As Boolean, _
ByVal Ddir2 As Boolean, _
ByVal Dang1 As Double, _
ByVal Dang2 As Double, _
ByVal OffsetReverse1 As Boolean, _
ByVal OffsetReverse2 As Boolean, _
ByVal TranslateSurface1 As Boolean, _
ByVal TranslateSurface2 As Boolean _
) |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim Sd As Boolean
Dim Flip As Boolean
Dim Dir As Boolean
Dim T1 As Integer
Dim T2 As Integer
Dim D1 As Double
Dim D2 As Double
Dim Dchk1 As Boolean
Dim Dchk2 As Boolean
Dim Ddir1 As Boolean
Dim Ddir2 As Boolean
Dim Dang1 As Double
Dim Dang2 As Double
Dim OffsetReverse1 As Boolean
Dim OffsetReverse2 As Boolean
Dim TranslateSurface1 As Boolean
Dim TranslateSurface2 As Boolean
instance.FeatureExtruRefSurface2(Sd, Flip, Dir, T1, T2, D1, D2, Dchk1, Dchk2, Ddir1, Ddir2, Dang1, Dang2, OffsetReverse1, OffsetReverse2, TranslateSurface1, TranslateSurface2)
|
C# | |
---|
void FeatureExtruRefSurface2(
bool Sd,
bool Flip,
bool Dir,
int T1,
int T2,
double D1,
double D2,
bool Dchk1,
bool Dchk2,
bool Ddir1,
bool Ddir2,
double Dang1,
double Dang2,
bool OffsetReverse1,
bool OffsetReverse2,
bool TranslateSurface1,
bool TranslateSurface2
) |
C++/CLI | |
---|
void FeatureExtruRefSurface2(
& bool Sd,
& bool Flip,
& bool Dir,
& int T1,
& int T2,
& double D1,
& double D2,
& bool Dchk1,
& bool Dchk2,
& bool Ddir1,
& bool Ddir2,
& double Dang1,
& double Dang2,
& bool OffsetReverse1,
& bool OffsetReverse2,
& bool TranslateSurface1,
& bool TranslateSurface2
) |
Parameters
- Sd
True for single-ended, false for double-ended
- Flip
True to flip the direction to cut, false to not
- Dir
True to flip direction to extrude, false to not
- T1
Termination type for first end as defined in swEndConditions_e
- T2
Termination type for second end as defined in swEndConditions_e
- D1
Depth of extrusion for first end in meters
- D2
Depth of extrusion for second end in meters
- Dchk1
True allows draft angle in first direction, false does not allow drafting
- Dchk2
True allows draft angle in second direction, false does not allow drafting
- Ddir1
For first draft angle to be inward use True, for draft angle outward use false
- Ddir2
For second draft angle to be inward use True, for draft angle outward use false
- Dang1
Draft angle for first end
- Dang2
Draft angle for second end
- OffsetReverse1
If you chose to offset the first end condition from another face or plane than True would specify offset in direction away from the sketch and false would specify offset from the face or plane in a direction toward the sketch
- OffsetReverse2
If you chose to offset the second end condition from another face or plane than True would specify offset in direction away from the sketch and false would specify offset from the face or plane in a direction toward the sketch
- TranslateSurface1
If you choose swEndcondOffsetFromSurface as the termination type for the first end, then True specifies that the end of the extrusion is a translation of the reference surface, false specifies to use a true offset
- TranslateSurface2
If you choose swEndcondOffsetFromSurface as the termination type for the second end, then True specifies that the end of the extrusion is a translation of the reference surface, false specifies to use a true offset
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0