NikoJzzz
Automotive
- Jun 29, 2018
- 6
Hi all,
Im trying to make a hole using the method AddNewHoleFromRefPoint (point, ref, depth)
The method fails with the point reference.
The reference im using is a vertex. This is becase I use the userpattern to make some holes, and the userpattern needs a sketch with multiple points.
I have done it extracting the brepname, but it only works with sketches with "Sketch.xx" name. I want to make it in all the sketches..
PD: The method AddNewHoleFromSketch is not valid for me, because I want to make the hole in a specific point of the sketch, and this method makes the hole in the first point of the sketch, and sometimes is not valid for me..
Hope you can help me.
Thank you in advance.
Im trying to make a hole using the method AddNewHoleFromRefPoint (point, ref, depth)
The method fails with the point reference.
The reference im using is a vertex. This is becase I use the userpattern to make some holes, and the userpattern needs a sketch with multiple points.
I have done it extracting the brepname, but it only works with sketches with "Sketch.xx" name. I want to make it in all the sketches..
PD: The method AddNewHoleFromSketch is not valid for me, because I want to make the hole in a specific point of the sketch, and this method makes the hole in the first point of the sketch, and sometimes is not valid for me..
Hope you can help me.
Thank you in advance.