Since you referenced a specific work point command, I assumed that you wanted to create a work point. Here's the additional code to get the coordinate of the created work point.
Dim newWP As WorkPoint
Set newWP = partDoc.ComponentDefinition.WorkPoints.AddByCurveAndEntity(skLine, wp)
Dim coord as Point
Set coord = newWP.Point
MsgBox coord.X & ", " & coord.Y & ", " & coord.Z
If all you need is the coordinate and don't care about the work point, then there's another way that just calculates the intersection without creating any new entities.
Public Sub SketchPlaneIntersection()
Dim sketchCurve As SketchEntity
Set sketchCurve = ThisApplication.CommandManager.Pick(kSketchCurveFilter, "Select sketch entity.")
Dim sl As SketchLine
Dim wp As WorkPlane
Set wp = ThisApplication.CommandManager.Pick(kWorkPlaneFilter, "Select work plane.")
Dim results As ObjectsEnumerator
Set results = ThisApplication.TransientGeometry.CurveSurfaceIntersection(sketchCurve.Geometry3d, wp.plane)
If results Is Nothing Then
MsgBox "No intersection was found."
Else
Dim i As Integer
For i = 1 To results.Count
MsgBox "Intersection " & i & ": " & results.Item(i).X & ", " & _
results.Item(i).Y & ", " & _
results.Item(i).Z
Next
End If
End Sub
---------------------------------------------------------------
Brian EkinsInventor and Fusion 360 API Expert
Website/Blog:
https://EkinsSolutions.com