
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
Suppose I have created two lines as follows:
CComPtr<Point2d> point1, point2, point3;
TransientGeometry::CreatePoint2d(1, 1, &point1);
TransientGeometry::CreatePoint2d(10,10, &point2);
CComPtr<SketchLine> sketchLine1, sketchLine2;
SketchLines::AddByTwoPoints(point1, point2, &sketchLine1);
TransientGeometry::CreatePoint2d(10,20, &point3);
SketchLines::AddByTwoPoints(point2, point3, &sketchLine2);
The above code creates two sketch lines(sketchLine1 and sketchLine2) which are coincident at point2.
Now, if I get the points "sketchLine1->GetEndSketchPoint()" and "sketchLine2->GetStartSketchPoint()", gives the different SketchPoint pointers. That means Inventor creates two SketchPoint for the same geometry at point2.
My question:
Is there any facility to avoid creating SketchPoint at the coincident points with same geometry? OR Can we merge SketchPoint pointers to single pointer having the geomtry within tolerance?
Please reply soon. Thanks in advance!!!
Solved! Go to Solution.