Hi,
I was wondering, for the intersection between a created 3D point, a line and a face, the recorded macro is this:
Set skPoint = Part.SketchManager.CreatePoint(0.014864, 0.008915, 0.01)
boolstatus = Part.Extension.SelectByID2("Line115@3DSketch31", "EXTSKETCHSEGMENT", 0.010076271632, 0.010076271632, 0, True, 0, Nothing, 1)
boolstatus = Part.Extension.SelectByID2("", "FACE", 0.01449967193116, 0.01008161233985, 0.0100000000001, True, 0, Nothing, 1)
Part.SketchAddConstraints "sgATINTERSECT"
Fr the line, I am able to change different lines (eg. Line116@3DSketch31) and the create point will intersect at that line. However, I want to be able to choose a different face, but the problem is I am not able to select a different face.
Can somebody highlight to me what is the problem?
SolidworksApi macros