- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to get a point a a drawing curve using the Evaluator2D.GetPointAtParam( ) method, but it fails. The Evaluator2D.GetParamExtents(Min, Max) works.
The parameter I pass into the function is halfway between the Min and Max.
I have used this on other drawing curves and sometimes it works and sometimes it fails. ??????????????????????????? Does it matter of what Type is the associated Model Geometry?????????????
Here is the code:
Set oEvaluator2D =oDrawingCurve.Evaluator2D
Call oEvaluator2D.GetParamExtents(Min, Max)
oParameter = Min + ((Max - Min) * .5)'''' HALFWAY BETWEEN MIN AND MAX
Dim oPoints ( ) as Double
Dim oParams(1) as Double
Set oParams = oParameter
Call oIntentCurve.Evaluator2D.GetPointAtParam(oParams, oPoints) '''''THIS FAILS
Solved! Go to Solution.