Replaces a sketch entity in a model with another sketch entity, preserving all references.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SketchReplace2( _
ByVal MakeConstruction As System.Boolean, _
ByVal MakeContour As System.Boolean _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISketchManager
Dim MakeConstruction As System.Boolean
Dim MakeContour As System.Boolean
Dim value As System.Boolean
value = instance.SketchReplace2(MakeConstruction, MakeContour) |
Parameters
- MakeConstruction
- True to convert the replaced sketch entity to construction geometry, false to delete it
- MakeContour
- True to make the replacement sketch entity a contour, false to not
Return Value
True if the the sketch entity is successfully replaced, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2022 FCS, Revision Number 30