Hide Table of Contents
IExtendSurface Method (IBody2)

Creates a new temporary body by extending the selected edges.

.NET Syntax

Visual Basic (Declaration) 
Function IExtendSurface( _
   ByVal EdgeCount As Integer, _
   ByRef EdgesToExtend As Edge, _
   ByVal ExtendLinear As Boolean, _
   ByVal EndCondition As Integer, _
   ByVal Dist As Double, _
   ByVal PUpToVtx As Vertex, _
   ByVal PUpToFace As Face _
) As Body2
Visual Basic (Usage) 
Dim instance As IBody2
Dim EdgeCount As Integer
Dim EdgesToExtend As Edge
Dim ExtendLinear As Boolean
Dim EndCondition As Integer
Dim Dist As Double
Dim PUpToVtx As Vertex
Dim PUpToFace As Face
Dim value As Body2
 
value = instance.IExtendSurface(EdgeCount, EdgesToExtend, ExtendLinear, EndCondition, Dist, PUpToVtx, PUpToFace)
C# 
Body2 IExtendSurface( 
   int EdgeCount,
   ref Edge EdgesToExtend,
   bool ExtendLinear,
   int EndCondition,
   double Dist,
   Vertex PUpToVtx,
   Face PUpToFace
)
C++/CLI 
Body2^ IExtendSurface( 
&   int EdgeCount,
&   Edge^% EdgesToExtend,
&   bool ExtendLinear,
&   int EndCondition,
&   double Dist,
&   Vertex^ PUpToVtx,
&   Face^ PUpToFace
) 

Parameters

EdgeCount
Number of edges to extend
EdgesToExtend
Array of the selected edges to extend
ExtendLinear
True to extend the selected edges linearly along the tangent of the face at the edges; false to extend the selected edges in the same direction as the face
EndCondition
  • 0 = Extend selected edges per value specified for Dist
  • 1 = Extend selected edges to PUpToVtx
  • 2 = Extend selected edges to PpUpToFace
Dist

 Distance by which to extend the selected edges (see Remarks)

PUpToVtx
Vertex up to which to extend the selected edges  (see Remarks)
PUpToFace
Face up to which to extend the selected edges (see Remarks)

Return Value

Pointer to the newly created IBody2 object

Remarks

This method supports surface bodies only.

You can extend the edges by a specified distance or up to a vertex or up to a face.

 

See Also

Availability

SolidWorks 2006 FCS, Revision Number 14


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:   IExtendSurface Method (IBody2)
*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) 2012 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.