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.
Create query from opPoint

Hi,
I have the following:
var l = evEdgeTangentLine(context, {
"edge" : edgeToUse1,
"parameter" : p
});
opPoint(context, id + "vertex3", { "point" : l.origin });
How can I create a query from the point created for use in a sketch constraint or am I going about this the wrong way?
Any help appreciated.
Thank you.
0
Best Answer
-
Caden_Armstrong Member Posts: 271 PRO
Should be able to reference the body you created.
qCreatedBy(id + "vertex3", EntityType.BODY);www.smartbenchsoftware.com --- fs.place --- Renaissance
Custom FeatureScript and Onshape Integrated Applications0
Answers
Should be able to reference the body you created.
qCreatedBy(id + "vertex3", EntityType.BODY);
Custom FeatureScript and Onshape Integrated Applications