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.

Is there a replace sketch entity tool?

ryan_mcgoldrickryan_mcgoldrick Member Posts: 66 ✭✭✭
We sometimes design products starting out on the basis of an existing product cad for the purposes of maintaining a structure and for maintaining a lot of the ground work that has already been done if a product is going to be similar enough. This however can be a bit limited in Onshape as to my knowledge there is no replace entity tool meaning if you delete a sketch entity and put a new one in, any subsequent features will fall over and fail. In Solidworks this tool is available and we use it.

This is fairly problematic on projects for us as we tent to have a master sketch file that propagates many child studios etc one get around is the transform tool but that is quite limited in what you can achieve.

Is there another work around or is this an improvement request that is being worked on?

Thanks,
Ryan

Best Answer

  • lanalana Onshape Employees Posts: 689
    Answer ✓
    @ryan_mcgoldrick
    We will do it, but filing an improvement request would help to prioritize this. Oddly enough - I did not find one ( may be I'm not good at searching).

Answers

  • chadstoltzfuschadstoltzfus Member, Developers, csevp Posts: 130 PRO
    This could be done by using a custom feature that uses the subtract complement function of opBoolean(). This way, the only thing that has to be changed with a sketch is replaced is the extrude selection and the selection of the subtract complement feature. 

    The way I've done it before is I create a bounding box around the part, and then do a subtract complement with the original entity as the tool and the bounding box as the target. This makes it so regardless of the size/position of the part, the cuboid, which has the same id every time, will be the resulting part. This can be applied to more than boxes and is pretty robust, but I haven't stress tested it to great lengths. 

    Here is an example with a very quickly whipped up custom feature, so use with caution. https://cad.onshape.com/documents/c26b4d40838c9b9b72117e97/w/ed0e93c5c398483cda2d6b2a/e/18303ec92703b0b780d07d8a
    Applications Developer at Premier Custom Built
    chadstoltzfus@premiercb.com
  • lanalana Onshape Employees Posts: 689
    Answer ✓
    @ryan_mcgoldrick
    We will do it, but filing an improvement request would help to prioritize this. Oddly enough - I did not find one ( may be I'm not good at searching).
  • ryan_mcgoldrickryan_mcgoldrick Member Posts: 66 ✭✭✭
    Legends, good to know it will be done and is on the radar, I have raised an improvement request.

    Cheers,
    Ryan
Sign In or Register to comment.