Creates a new temporary body by extending the selected edges.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IBody2
Dim EdgeCount As System.Integer
Dim EdgesToExtend As Edge
Dim ExtendLinear As System.Boolean
Dim EndCondition As System.Integer
Dim Dist As System.Double
Dim PUpToVtx As Vertex
Dim PUpToFace As Face
Dim value As Body2
value = instance.IExtendSurface(EdgeCount, EdgesToExtend, ExtendLinear, EndCondition, Dist, PUpToVtx, PUpToFace) |
Parameters
- EdgeCount
- Number of edges to extend
- 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 PpUpToFace
- 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
Remarks
See Also
Availability
SOLIDWORKS 2006 FCS, Revision Number 14