- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm using the sketch offset method to generate some offset curves which I then copy to another sketch.
One I'm done copying the curves to the other sketch I want to delete the offset curves from the original sketch.
offsetCurves & curvesForOffset are both CollectionObjects
offsetCurves = sketchIn->offset(curvesForOffset, Point3D::create(100,100,0), kerf/2);
sketchIn->copy(offsetCurves, transform, sketchOut);
Then to delete the curves, how do I do something like...
for (Ptr<Base> object : offsetCurves)
{
ui->messageBox(object->objectType());
// Want something like sketchIn->object->deleteMe();
}
As a related question, is it possible to suppress the addition of the offset constraint and sketch dimension when using the sketch->offset method?
Thanks!
Rod.
Solved! Go to Solution.