Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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.

FS Plane at angle

graham_lockgraham_lock Member Posts: 141 PRO

Hi all,

I'm creating a plane at angle using cPlane:

cPlane(context, id,
{
"entities" : definition.edges,
"cplaneType" : CPlaneType.LINE_ANGLE,
"angle" : 0 * degree
}
);

How do I get a reference to the generated plane?

I know cPlane uses opPlane but to replicate that code seems inefficient?

Is there better way to generate the plane?

Thank you.

Best Answer

  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,671
    Answer ✓

    Just like any other feature, send an id you can use qCreatedBy on, such as id + "plane"

    Senior Director, Technical Services, EMEAI

Answers

  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,671
    Answer ✓

    Just like any other feature, send an id you can use qCreatedBy on, such as id + "plane"

    Senior Director, Technical Services, EMEAI
  • graham_lockgraham_lock Member Posts: 141 PRO

    Thank you/

Sign In or Register to comment.