Solid Edge FrameworkSupport Type Library
AddChamfer Method
Specifies the object whose intersection with the Line2d object forms the start of the chamfer.
Specifies the object whose intersection with the Line2d object forms the end of the chamfer.
Description
Creates a dimension to measure the angle and the setback of a chamfer.
Syntax
Visual Basic
Public Function AddChamfer( _
   ByVal Object1 As Object, _
   ByVal x1 As Double, _
   ByVal y1 As Double, _
   ByVal z1 As Double, _
   ByVal keyPoint1 As Boolean, _
   ByVal Object2 As Object, _
   ByVal x2 As Double, _
   ByVal y2 As Double, _
   ByVal z2 As Double, _
   ByVal keyPoint2 As Boolean, _
   ByVal valChamferMode As DimChamferModeConstants _
) As Dimension
Parameters
Object1
Specifies the object whose intersection with the Line2d object forms the start of the chamfer.
x1
y1
z1
keyPoint1
Object2
Specifies the object whose intersection with the Line2d object forms the end of the chamfer.
x2
y2
z2
keyPoint2
valChamferMode
ValueDescription
igDimChamferModeAlongAxisChamfer Dimension Along Axis
igDimChamferModeNotApplicableNot a Chamfer Dimension
igDimChamferModeParallelChamfer Dimension Parallel
igDimChamferModePerpendicularChamfer Dimension Perpenducular
Remarks
As a result of this method, all geometry that exceeds the points of intersection is trimmed. Relationship Add methods have checks to ensure that a new relationship does not contradict previously placed relationships. For example, AddHorizontal will return an error if the line already has a vertical relationship. This check can be turned off to enhance performance.
See Also

Dimensions Collection  | Dimensions Members

Send comments on this topic.