Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CurveEvaluator on drawing (.idw)

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
207 Views, 0 Replies

CurveEvaluator on drawing (.idw)

Hi,

 

Is there a CurveEvaluator for use in 2D drawings?

I'm trying to figure out if a quadrant point of an arc is on the arc or not.

 

here's what I tried so far;

 

                    CurveEvaluator  oCurveEval = default(CurveEvaluator);
                    oCurveEval = drawingCurve.Evaluator3D;
                    double[] oCor = new double[3];
                    double[] geussParam = new double[2];
                    double[] maxDev = new double[2];
                    double[] paramsdf = new double[2];
                    SolutionNatureEnum[] soluNatur = new SolutionNatureEnum[1];

 

                    returnGeomIntent = oSheet.CreateGeometryIntent(dCurve, PointIntentEnum.kCircularTopPointIntent);
                    oCor[0] = returnGeomIntent.PointOnSheet.X;
                    oCor[1] = returnGeomIntent.PointOnSheet.Y;
                    oCor[2] = 0;

                    oCurveEval.GetParamAtPoint(ref oCor, ref geussParam, ref maxDev, ref paramsdf, ref soluNatur);

 

Similar code with an CurveEvaluator2D gives also no results.

Thanks,

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report