Creates a new temporary body by extending the selected edges.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IBody2
Dim EdgesToExtend As Object
Dim ExtendLinear As Boolean
Dim EndCondition As Integer
Dim Dist As Double
Dim PUpToVtx As Vertex
Dim PUpToFace As Face
Dim value As Body2
value = instance.ExtendSurface(EdgesToExtend, ExtendLinear, EndCondition, Dist, PUpToVtx, PUpToFace)
|
Parameters
- EdgesToExtend
- Array of the selected edges to extend
- ExtendLinear
- True to extend the selected edges linearly along the tangent of the face at the edges; false to extend the selected edges in the same direction as the face
- EndCondition
- 0 = Extend selected edges per value specified for Dist
-
1 = Extend selected edges to PUpToVtx
-
2 = Extend selected edges to PUpToFace
- Dist
- Distance by which to extend the selected edges (see Remarks)
- PUpToVtx
Vertex up to which to extend the selected edges (see Remarks)
- PUpToFace
Face up to which to extend the selected edges (see Remarks)
Return Value
Pointer to the newly created IBody2 object
Example
Remarks
See Also
Availability
SolidWorks 2006 FCS, Revision Number 14