Mirror Drawing Sketch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I would need to horizontally mirror a sketch in a (.idw) drawing document. Unfortunately, the API does not offer a direct function for this, even though a button for manual operation is foreseen.
Unlike a PlanarSketch, a DrawingSketch does not offer SketchBlocks which can be transformed by matrix operation, such as here:
I tried changing SketchPoint coordinates one by one, as below. But if it doesn't lead to an error, it really alters the sketch into something unrecognizable.
Dim oPt As SketchPoint
For Each oPt In oDrawSketch.SketchPoints
oPt.MoveBy(oTG.CreateVector2d(-oPt.Geometry.X,0))
Next
Any suggestion for a workaround is greatly appreciated!