Solid Edge Assembly Type Library
AddSegmentDistance Method
Specifies the first of two constrained elements.
Required member of the SegmentRelation3dGeometryConstants constant set that specifies the type of geometry that is associated with Element1.
Specifies the second of two constrained elements.
Required member of the SegmentRelation3dGeometryConstants constant set that specifies the type of geometry that is associated with Element2.
Required member of the SegmentRelation3dDistanceConstants constant set that specifies whether the distance is to be normal, reverse, or true length.
Specifies the distance of the constraint.
Description
Adds a SegmentDistanceRelation3d object to the referenced SegmentRelations3d collection.
Syntax
Visual Basic
Public Function AddSegmentDistance( _
   ByVal Element1 As Object, _
   ByVal SegmentGeometryType1 As SegmentRelation3dGeometryConstants, _
   ByVal Element2 As Object, _
   ByVal SegmentGeometryType2 As SegmentRelation3dGeometryConstants, _
   ByVal RefPlane As Object, _
   ByVal SegmentDistanceType As SegmentRelation3dDistanceConstants, _
   ByVal Distance As Double _
) As SegmentDistanceRelation3d
Parameters
Element1
Specifies the first of two constrained elements.
SegmentGeometryType1
ValueDescription
seSegmentRelation3dArc
seSegmentRelation3dArcCenter
seSegmentRelation3dEllipseCenter
seSegmentRelation3dEndPoint
seSegmentRelation3dLineEndPoint
seSegmentRelation3dLineStartPoint
seSegmentRelation3dRefPlane
seSegmentRelation3dStartPoint
seSegmentRelation3dUnbounded
Required member of the SegmentRelation3dGeometryConstants constant set that specifies the type of geometry that is associated with Element1.
Element2
Specifies the second of two constrained elements.
SegmentGeometryType2
ValueDescription
seSegmentRelation3dArc
seSegmentRelation3dArcCenter
seSegmentRelation3dEllipseCenter
seSegmentRelation3dEndPoint
seSegmentRelation3dLineEndPoint
seSegmentRelation3dLineStartPoint
seSegmentRelation3dRefPlane
seSegmentRelation3dStartPoint
seSegmentRelation3dUnbounded
Required member of the SegmentRelation3dGeometryConstants constant set that specifies the type of geometry that is associated with Element2.
RefPlane
SegmentDistanceType
ValueDescription
seSegmentRelation3dDistanceNormal
seSegmentRelation3dDistanceReverse
seSegmentRelation3dDistanceTrueLength
Required member of the SegmentRelation3dDistanceConstants constant set that specifies whether the distance is to be normal, reverse, or true length.
Distance
Specifies the distance of the constraint.
See Also

SegmentRelations3d Collection  | SegmentRelations3d Members

Send comments on this topic.