06-22-2015
02:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
06-22-2015
02:50 AM
Hi Yogesh,
You should be using a 3d sketch, add a work point and use the sketch point from "p1" that you already have from the 2d sketch.
the SketchLine3D can then be used to create a path, if you wish to sweep the profile along the normal direction.
Dim oSketch3d As Sketch3D
oSketch3d = partDoc.ComponentDefinition.Sketches3D.Add
Dim wp2 As Inventor.WorkPoint
wp2 = oCompDef.WorkPoints.AddFixed(oTG.CreatePoint(0, 0, 1))
Dim oLine As SketchLine3D
oLine = oSketch3d.SketchLines3D.AddByTwoPoints(skp1, wp2, False, 1)
Regards,
Balaji
Balaji
Developer Technical Services
Autodesk Developer Network