Hide Table of Contents
InsertFillSurface2 Method (IFeatureManager)

Inserts a fill-surface feature in the model.

.NET Syntax

Visual Basic (Declaration) 
Function InsertFillSurface2( _
   ByVal Resolutions As Integer, _
   ByVal Options As Integer, _
   ByVal VPatchBoundaries As Object, _
   ByVal VCurvatureControlType As Object, _
   ByVal VFaces As Object, _
   ByVal VConstraintCurves As Object _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Resolutions As Integer
Dim Options As Integer
Dim VPatchBoundaries As Object
Dim VCurvatureControlType As Object
Dim VFaces As Object
Dim VConstraintCurves As Object
Dim value As Feature
 
value = instance.InsertFillSurface2(Resolutions, Options, VPatchBoundaries, VCurvatureControlType, VFaces, VConstraintCurves)
C# 
Feature InsertFillSurface2( 
   int Resolutions,
   int Options,
   object VPatchBoundaries,
   object VCurvatureControlType,
   object VFaces,
   object VConstraintCurves
)
C++/CLI 
Feature^ InsertFillSurface2( 
&   int Resolutions,
&   int Options,
&   Object^ VPatchBoundaries,
&   Object^ VCurvatureControlType,
&   Object^ VFaces,
&   Object^ VConstraintCurves
) 

Parameters

Resolutions

Controls the resolution or quality of the surface (see Remarks)

Options

Options as defined in swFeatureFillSurfaceOptions_e

VPatchBoundaries
Array of edges or sketches for the patch boundaries
VCurvatureControlType
Array of curve control methods as defined in swContactType_e
VFaces
Array of faces to use for direction
VConstraintCurves
Array of constraint curves (edges or sketches)

Return Value

Pointer to the IFeature object

Remarks

You must use IModelDocExtension::SelectByID2 and the following Mark values to select edges that bound the surface to be filled:

  • Boundary curves = 1

  • Boundary with contact curvature control = 257

  • Boundary with tangent curvature control = 513

  • Constraint curves or internal curves = 4

The resolution argument can be set to 1, 2, or 3. The higher the value, the better the resolution.

Use the IBody2::Diagnose and the IDiagnoseResult APIs to get the gaps to fill.

 

See Also

Availability

SolidWorks 2007 FCS, Revision Number 15.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:   InsertFillSurface2 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) 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.