Hide Table of Contents
InsertFeatureChamfer Method (IFeatureManager)

Inserts a chamfer.

.NET Syntax

Visual Basic (Declaration) 
Function InsertFeatureChamfer( _
   ByVal Options As System.Integer, _
   ByVal ChamferType As System.Integer, _
   ByVal Width As System.Double, _
   ByVal Angle As System.Double, _
   ByVal OtherDist As System.Double, _
   ByVal VertexChamDist1 As System.Double, _
   ByVal VertexChamDist2 As System.Double, _
   ByVal VertexChamDist3 As System.Double _
) As Feature
Visual Basic (Usage) 
Dim instance As IFeatureManager
Dim Options As System.Integer
Dim ChamferType As System.Integer
Dim Width As System.Double
Dim Angle As System.Double
Dim OtherDist As System.Double
Dim VertexChamDist1 As System.Double
Dim VertexChamDist2 As System.Double
Dim VertexChamDist3 As System.Double
Dim value As Feature
 
value = instance.InsertFeatureChamfer(Options, ChamferType, Width, Angle, OtherDist, VertexChamDist1, VertexChamDist2, VertexChamDist3)
C# 
Feature InsertFeatureChamfer( 
   System.int Options,
   System.int ChamferType,
   System.double Width,
   System.double Angle,
   System.double OtherDist,
   System.double VertexChamDist1,
   System.double VertexChamDist2,
   System.double VertexChamDist3
)
C++/CLI 
Feature^ InsertFeatureChamfer( 
&   System.int Options,
&   System.int ChamferType,
&   System.double Width,
&   System.double Angle,
&   System.double OtherDist,
&   System.double VertexChamDist1,
&   System.double VertexChamDist2,
&   System.double VertexChamDist3
) 

Parameters

Options
Options as defined by swFeatureChamferOption_e
ChamferType
Chamfer type as defined by swChamferType_e
Width
If chamferType is swChamferAngleDistance, then specify width of chamfer
Angle

If chamferType is swChamferAngleDistance, then specify the angle of the  chamfer

OtherDist
If chamferType is swChamferDistanceDistance or swChamferVertex, then you can specify a single value so that all distances are equal
VertexChamDist1
If chamferType is swChamferDistanceDistance or swChamferVertex, then specify a value for the distance on first side
VertexChamDist2
If chamferType is swChamferDistanceDistance or swChamferVertex, then specify a value for the distance on second side
VertexChamDist3
If chamferType is swChamferVertex, then specify a value for the distance on third side

Return Value

Pointer to the IFeature object

Remarks

Both angle-distance and distance-distance chamfers are edge chamfers. This means that all measurements are from edges. An angle-distance chamfer requires an angle and a distance; a distance-distance chamfer requires two distances for both sides of the chamfered edges.

A vertex chamfer only works on a vertex with three adjacent edges of the same convexity. The distance values specified measure from the vertex along three adjacent edges. For non-linear edges, this value is an arc length value; it is not a chordal value. See IVertex::EnumEdgesOriented to determine the edge order used by this method.

 

See Also

Availability

SOLIDWORKS 2005 FCS, Revision Number 13.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:   InsertFeatureChamfer 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) 2019 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.