Not applicable
09-02-2015
10:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In PlanarSketch, I wish to create a fillet between two touching sketch lines. Errors out!!!
Code is:
Dim startWorkPoint As WorkPoint = m_compDef.WorkPoints.AddFixed(newStartPoint, True)
Dim pathSketch As PlanarSketch = pathSketchCurve.Parent
Dim pathSketchLine As SketchLine = pathSketchCurve
Dim skpt1 As SketchPoint = pathSketch.AddByProjectingEntity(startWorkPoint)
Dim addedSketchLine As SketchLine = pathSketch.SketchLines.AddByTwoPoints(skpt1, pathSketchLine.StartSketchPoint)
Dim skarc As SketchArc = pathSketch.SketchArcs.AddByFillet(addedSketchLine, pathSketchLine, m_bendradius, addedSketchLine.EndSketchPoint.Geometry, pathSketchLine.StartSketchPoint.Geometry)
Dim path As Inventor.Path = m_compDef.Features.CreatePath(addedSketchLine)
Dim profile As Profile = profileSketch.Profiles.AddForSolid
CreateNewSweep(profile, path, PartFeatureOperationEnum.kJoinOperation)In interactive mode, 'pathSketchLine' is somehow not selectable, although its part of the same sketch.
Attached is the full file.
Any clue?
Solved! Go to Solution.