Hide Table of Contents
GetMiddleSurface Method (IBody2)

Inserts a midsurface in a body.

.NET Syntax

Visual Basic (Declaration) 
Function GetMiddleSurface( _
   ByVal PlacementPercentage As System.Double, _
   ByRef Face1List As System.Object, _
   ByRef Face2List As System.Object, _
   ByRef Thickness As System.Object, _
   ByRef MiddleSurfaceBody As System.Object _
) As System.Integer
Visual Basic (Usage) 
Dim instance As IBody2
Dim PlacementPercentage As System.Double
Dim Face1List As System.Object
Dim Face2List As System.Object
Dim Thickness As System.Object
Dim MiddleSurfaceBody As System.Object
Dim value As System.Integer
 
value = instance.GetMiddleSurface(PlacementPercentage, Face1List, Face2List, Thickness, MiddleSurfaceBody)
C# 
System.int GetMiddleSurface( 
   System.double PlacementPercentage,
   out System.object Face1List,
   out System.object Face2List,
   out System.object Thickness,
   out System.object MiddleSurfaceBody
)
C++/CLI 
System.int GetMiddleSurface( 
&   System.double PlacementPercentage,
&   [Out] System.Object^ Face1List,
&   [Out] System.Object^ Face2List,
&   [Out] System.Object^ Thickness,
&   [Out] System.Object^ MiddleSurfaceBody
) 

Parameters

PlacementPercentage
Position where to insert the midsurface in the body; value of 50 indicates to insert the surface in the middle
Face1List
Array of faces into which the midsurface will be or was inserted; you can provide an array of faces for this parameter and Face2List; if you do not, then the faces are determined internally
Face2List
Array of faces into which the midsurface will be or was inserted; you can provide an array of faces for this parameter and Face1List; if you do not, then the faces are determined internally
Thickness
Array containing minimum and maximum thickness of sheet metal for pairs of faces
MiddleSurfaceBody
Middle surface body

Return Value

0 if no errors; -1 if errors
 

See Also

Availability

SOLIDWORKS 2009 FCS, Revsion Number 17.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:   GetMiddleSurface 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) 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.