Message 1 of 2
sketch orientation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello together,
how could I get the sketch orientation?
If I create the sketch I know the orientation.
Public Sub ActivateSketch()
Dim partDoc As PartDocument
Set partDoc = ThisApplication.ActiveDocument
' Create a new sketch on the X-Y base work plane.
Dim sk As Sketch
Set sk = partDoc.ComponentDefinition.Sketches.Add(partDoc.ComponentDefinition.WorkPlanes.item(3))
' Bring the sketch into edit mode.
sk.Edit
End Sub
But how to get it reverse (which workplanes)?
Thanks
Georg