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.

Delete all sketch constraints at once

ben_ton
ben_ton Member Posts: 1 PRO
Dear forum. Please tell me if there were a faster way to delete all constraints at once instead of select each constraint and delete?

Answers

  • brucebartlett
    brucebartlett Member, OS Professional, Mentor, User Group Leader Posts: 2,148 PRO
    I don't think there is, you can tick the show all constraint checkbox but only select them one at a time. It would be nice if you could add a keyboard modifier so the window only selects constraints, I tried a few but nothing seemed to work.  

    Maybe you should add an improvement request for this. 
    Engineer ı Product Designer ı Onshape Consulting Partner
    Twitter: @onshapetricks  & @babart1977   
  • 3dcad
    3dcad Member, OS Professional, Mentor Posts: 2,482 PRO
    edited September 2017
    What would be use cases for this functionality? Just curios..

    I think selection filter would sit nicely into 'Select other' menu which should be re-thinked anyway.
    //rami
  • SR_integrator
    SR_integrator Member Posts: 39 PRO
    TIP: Use the transform function (aka move) in a sketch to remove all (dangling) contraints.
  • terry_kuehne236
    terry_kuehne236 Member Posts: 13 ✭✭
    Actually, You can't choose them all at once, but you can press and hold the delete button and quickly choose them one right after another.
  • glen_dewsbury
    glen_dewsbury Member Posts: 1,363 PRO
    edited October 2024

    Have not seen this idea for many years When window selecting the old Anvil would allow filtering with single key stroke. p-point l-line a-arc/circle s-splines etc. Add c-constraints.

  • Caden_Armstrong
    Caden_Armstrong Member Posts: 458 PRO

    My application Renaissance has a tool that provides a workaround for this.
    There is an option that lets you remove all constraints from any number of sketches.

    Remove_all_constraints.gif
    www.smartbenchsoftware.com --- Renaissance --- Kestrel -- SmartLink
    Experts in Onshape Automation - Custom Features and Integrated Applications
  • MDesign
    MDesign Member Posts: 1,458 PRO

    you’ve used a complex face to generate a sketch. You’ve modeled for days afterward. Something changes in the design and you have the sketch referencing geometry that doesn’t exist anymore but still need the sketch as is or modified. Sometimes starting over with constraints is just easier and faster.

  • MDesign
    MDesign Member Posts: 1,458 PRO
    edited December 2024

    Just thought of this….does this help? select everything in your sketch. Ctrl+c (or right click+copy sketch), then delete everything , then ctrl+v (do not right click + paste sketch) and confirm it with left click. doesn't remove all constraints but it does leave you with only those that are related to the sketch lines itself and not the reference geometry constraints. Haven't explored this extensively but this what initial testing has done for me.

  • eric_pesty
    eric_pesty Member, pcbaevp Posts: 2,814 PRO

    Doing a sketch transform does the exact same thing…