evPlane parameters

hervé_pipon
hervé_pipon Member Posts: 60 ✭✭
Hello
I want to create a plane normal to a line

I tried:

evPlane(context, {
                "point" : qCreatedBy(id + "apex", EntityType.VERTEX),
                "normalTo" : qCreatedBy( newId, EntityType.EDGE)
            });
but got the error Precondition of evPlane failed (arg.face is Query)

How can I select the point and lines I created, to put into evPlane parameters .

ref:
https://cad.onshape.com/documents/b5eb7563c9f8d34013c45353/w/a8328a22ba0852fc6de829ba/e/3946d40111b0b87308a02466

Comments

  • hervé_pipon
    hervé_pipon Member Posts: 60 ✭✭
    In fact , I changed my mind and didn't want to use a query, as I have the construction points in the script.
    I'm finally using
    const sketchPlane_0 = plane(ApexPoint, FirstRadius);
    It works and it's simpler.