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 System.Integer, _
   ByVal Options As System.Integer, _
   ByVal VPatchBoundaries As System.Object, _
   ByVal VCurvatureControlType As System.Object, _
   ByVal VFaces As System.Object, _
   ByVal VConstraintCurves As System.Object _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Resolutions As System.Integer
Dim Options As System.Integer
Dim VPatchBoundaries As System.Object
Dim VCurvatureControlType As System.Object
Dim VFaces As System.Object
Dim VConstraintCurves As System.Object
Dim value As Feature
 
value = instance.InsertFillSurface2(Resolutions, Options, VPatchBoundaries, VCurvatureControlType, VFaces, VConstraintCurves)
C# 
Feature InsertFillSurface2( 
   System.int Resolutions,
   System.int Options,
   System.object VPatchBoundaries,
   System.object VCurvatureControlType,
   System.object VFaces,
   System.object VConstraintCurves
)
C++/CLI 
Feature^ InsertFillSurface2( 
&   System.int Resolutions,
&   System.int Options,
&   System.Object^ VPatchBoundaries,
&   System.Object^ VCurvatureControlType,
&   System.Object^ VFaces,
&   System.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) 2013 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.