Creates a surface from the selected facets in this graphics body.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IGraphicsBody
Dim SurfaceType As System.Integer
Dim FacetTolerance As System.Double
Dim ExtendSurfaceSize As System.Double
Dim ErrorCode As System.Integer
Dim value As System.Object
value = instance.SurfaceFromMesh(SurfaceType, FacetTolerance, ExtendSurfaceSize, ErrorCode) |
Parameters
- SurfaceType
- Type of surface to create as defined by swSurfaceTypes_e (see Remarks)
- FacetTolerance
- 0.0 (High tolerance) <= Percent facet selection <= 100.0 (Low tolerance)
- ExtendSurfaceSize
- Extension in meters of the surface body to fit the selected facets and geometric shape
- ErrorCode
- 0 if successful, -1 if not
Return Value
IBody2
Example
Remarks
See Also
Availability
SOLIDWORKS 2023 FCS, Revision Number 31