Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm creating a sketch on a face but when the sketch is created and in edit mode the sketch doesn't rotate forward. I'm hoping there is something simple but I can't seem to find it. Any help would be greatly appreciated!
Dim oDoc As PartDocument: Set oDoc = ThisApplication.ActiveDocument Dim oPartDef As PartComponentDefinition: Set oPartDef = oDoc.ComponentDefinition Dim oFace As Face: Set oFace = ThisApplication.CommandManager.Pick(Inventor.SelectionFilterEnum.kPartFaceFilter, "Select the face") Dim oSketch As PlanarSketch: Set oSketch = oPartDef.Sketches.Add(oFace, True) oSketch.Edit
This is what it looks like when the above code is finished.
This is what I want it to do. This will make it where the user doesn't have to rotate it front to start drawing.
Thank you!
Tiffany
Tiffany Hayden
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Solved! Go to Solution.