I've got an assembly with two parts and I'd like to extrude a sketch from one part until it reaches the other.
Ideally the user would select a face in the other object and the shape would be automatically extruded.
Even though I manage to extrude the sketch with the SetDistanceExtent method, I haven't been as successful with the SetToExtent or the SetToNextExtent. When I call the Add() method, it throws an ArgumentException.
Any ideas of what am I doing wrong?
I am writing the code in C#, but replies in VB are welcome.