Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Plane Question
papawo
Member, Developers Posts: 206 PRO
This cant be extruded because of evOwnerSketchPlane
Do I have to create a plane for this?
Tagged:
0
Best Answer
-
ilya_baran Onshape Employees, Developers, HDM Posts: 1,215For direction, you still need evOwnerSketchPlane -- specifically, evOwnerSketchPlane(context, { "entity" : qCreatedBy(id + "sketch1", EntityType.FACE) }).normalIlya Baran \ VP, Architecture and FeatureScript \ Onshape Inc5
Answers
You could use the same definition you used in "sketchPlane" on line 12, or query a face from the sketch.
For future reference, posting a link to a public document version is best, but pasting code as text is preferable to pasting a screenshot of code -- because with a screenshot, we can't copy your code to test it.
https://cad.onshape.com/documents/5835a679d88ef310518bebf9/w/d3dd3502b150b8085750a62b/e/93a79364ae4696c2088defcf
thank you!