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.

"Use" command in a sketch does not update after upstream changes

I have a part studio that has a body that is a composite of multiple bodies (all defined from the start in Onshape in this feature tree). After the Boolean, I select a face that spans across what used to be multiple bodies and start a sketch. I click the "use" command to convert the edge bounds of that face to a sketch, and save the sketch. That works as expected. But, If I then go back and change the bodies in the Boolean higher up in the feature tree, the reference in the "use" command breaks. The sketch still looks like the previous face, and is still fully defined to any edges that did not change, but any edges that did change are now undefined and throwing an error.

Is there a way to have the use command update to the current state of the face it was referencing? I attempted to write a featurescript to handle this case without luck, so am hoping there is a native workaround, as that would be more preferred and theoretically more robust. If there isn't a workaround I'll post a new question with my attempt at a feature script.

Thank you!

Answers

  • ry_gbry_gb Member, csevp, pcbaevp Posts: 226 PRO

    If the face you used as a reference disappears because you changed it or removed it (that includes boolean), then the Use feature will always fail. You need to find a way to keep your source reference stable. Reference a sketch or a plane instead of a face that you modify.

    Ramon Yip | glassboard.com

  • christopher_whipple454christopher_whipple454 Member Posts: 4

    @ry_gb thank you for the reply. This makes sense, but what I still don't understand is that any unchanged edges of the face I selected are still locked and do not throw errors. This implies the internal reference of that face is still recorded properly, so why isn't there a way to "update" or rerun the use command on the updated face?

    I ask because I work with a lot of complex geometry and find myself using the use command in sketches all the time, and run into this issue often, enough so that I might write a feature script feature to combat this.

    Thank you!

  • ry_gbry_gb Member, csevp, pcbaevp Posts: 226 PRO

    Do you have a link to the file you're working on? That would help diagnose your current problem.

    Ramon Yip | glassboard.com

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.