Message 1 of 2

Not applicable
07-16-2015
01:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How to check if given Sketch3D lies on a given planar Face? I have a rough method, but that does not work also.
For Each ent As SketchEntity3D In midcurves.SketchEntities
Dim oLineSegment1 As LineSegment = oCompDef.Application().TransientGeometry.CreateLineSegment(ent.RangeBox.MinPoint, ent.RangeBox.MaxPoint)
If f.Evaluator.RangeBox.Contains(oLineSegment1.MidPoint) Then
oSketch2d.AddByProjectingEntity(ent)
End If
Next
Please suggest a good way that would work.
Solved! Go to Solution.