Hide Table of Contents
FeatureExtruRefSurface Method (IFeatureManager)

Obsolete. Superseded by IFeatureManager::FeatureExtruRefSurface2.

.NET Syntax

Visual Basic (Declaration) 
Sub FeatureExtruRefSurface( _
   ByVal Sd As System.Boolean, _
   ByVal Flip As System.Boolean, _
   ByVal Dir As System.Boolean, _
   ByVal T1 As System.Integer, _
   ByVal T2 As System.Integer, _
   ByVal D1 As System.Double, _
   ByVal D2 As System.Double, _
   ByVal Dchk1 As System.Boolean, _
   ByVal Dchk2 As System.Boolean, _
   ByVal Ddir1 As System.Boolean, _
   ByVal Ddir2 As System.Boolean, _
   ByVal Dang1 As System.Double, _
   ByVal Dang2 As System.Double, _
   ByVal OffsetReverse1 As System.Boolean, _
   ByVal OffsetReverse2 As System.Boolean, _
   ByVal TranslateSurface1 As System.Boolean, _
   ByVal TranslateSurface2 As System.Boolean, _
   ByVal CapEnd1 As System.Boolean, _
   ByVal CapEnd2 As System.Boolean, _
   ByVal DeleteOriginalFace As System.Boolean, _
   ByVal KnitResult As System.Boolean _
) 
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Sd As System.Boolean
Dim Flip As System.Boolean
Dim Dir As System.Boolean
Dim T1 As System.Integer
Dim T2 As System.Integer
Dim D1 As System.Double
Dim D2 As System.Double
Dim Dchk1 As System.Boolean
Dim Dchk2 As System.Boolean
Dim Ddir1 As System.Boolean
Dim Ddir2 As System.Boolean
Dim Dang1 As System.Double
Dim Dang2 As System.Double
Dim OffsetReverse1 As System.Boolean
Dim OffsetReverse2 As System.Boolean
Dim TranslateSurface1 As System.Boolean
Dim TranslateSurface2 As System.Boolean
Dim CapEnd1 As System.Boolean
Dim CapEnd2 As System.Boolean
Dim DeleteOriginalFace As System.Boolean
Dim KnitResult As System.Boolean
 
instance.FeatureExtruRefSurface(Sd, Flip, Dir, T1, T2, D1, D2, Dchk1, Dchk2, Ddir1, Ddir2, Dang1, Dang2, OffsetReverse1, OffsetReverse2, TranslateSurface1, TranslateSurface2, CapEnd1, CapEnd2, DeleteOriginalFace, KnitResult)
C# 
void FeatureExtruRefSurface( 
   System.bool Sd,
   System.bool Flip,
   System.bool Dir,
   System.int T1,
   System.int T2,
   System.double D1,
   System.double D2,
   System.bool Dchk1,
   System.bool Dchk2,
   System.bool Ddir1,
   System.bool Ddir2,
   System.double Dang1,
   System.double Dang2,
   System.bool OffsetReverse1,
   System.bool OffsetReverse2,
   System.bool TranslateSurface1,
   System.bool TranslateSurface2,
   System.bool CapEnd1,
   System.bool CapEnd2,
   System.bool DeleteOriginalFace,
   System.bool KnitResult
)
C++/CLI 
void FeatureExtruRefSurface( 
&   System.bool Sd,
&   System.bool Flip,
&   System.bool Dir,
&   System.int T1,
&   System.int T2,
&   System.double D1,
&   System.double D2,
&   System.bool Dchk1,
&   System.bool Dchk2,
&   System.bool Ddir1,
&   System.bool Ddir2,
&   System.double Dang1,
&   System.double Dang2,
&   System.bool OffsetReverse1,
&   System.bool OffsetReverse2,
&   System.bool TranslateSurface1,
&   System.bool TranslateSurface2,
&   System.bool CapEnd1,
&   System.bool CapEnd2,
&   System.bool DeleteOriginalFace,
&   System.bool KnitResult
) 

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 of the 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 choose to offset the first end condition from another face or plane, then true specifies the offset from the face or plane in a direction away from the sketch, and false specifies the offset in a direction toward the sketch

OffsetReverse2

If you choose to offset the second end condition from another face or plane, then true specifies the offset from the face or plane in direction away from the sketch, and false specifies the offset in a direction toward the sketch

TranslateSurface1

If you specified T1 as swEndConditions_e.swEndCondOffsetFromSurface, then true specifies that the end of the extrusion is a translation of the reference surface, and false specifies to use a true offset

TranslateSurface2

If you specified T2 as swEndConditions_e.swEndCondOffsetFromSurface, then true specifies that the end of the extrusion is a translation of the reference surface, and false specifies to use a true offset

CapEnd1
True to cap first end, false to not
CapEnd2
True to cap second end, false to not
DeleteOriginalFace
True to delete original faces, false to not (see Remarks)
KnitResult
True to knit the extrusion result, false to not (see Remarks)

Remarks

Before calling this method, select the entities from which to extrude reference surfaces. Do one of the following:

  • select a sketch containing one face or multiple co-planar faces
  • select one face or multiple co-planar faces in the view

DeleteOriginalFace and KnitResult are ignored if the extrusion is in two directions.

KnitResult is ignored if DeleteOriginalFace is false.

 

See Also

Availability

SOLIDWORKS 2011 FCS, Revision Number 19.0


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   FeatureExtruRefSurface Method (IFeatureManager)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2017 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.