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.

How can I control my part and sketch dimensions from an assembly configuration?

joshtargojoshtargo Member Posts: 269 EDU

I want to make a geometrically simpler MAXTube for assemblies where it has sketches for hole placements rather than hundreds of actual holes.

How do I set up a configuration variable that affects the part and sketches at the same time?

Currently the sketches are based on the part size by being drawn on its faces.

When I change the part size in the assembly, the sketches don't update.

https://cad.onshape.com/documents/fedda7d876a3272f4cf37980/w/f482e6ab5578bc0f10886eb5/e/228563a72506b4a23af724b9?configuration=default&renderMode=0&uiState=671fb0af6fd9557cc31e5d29

Comments

  • rick_randallrick_randall Member Posts: 331 ✭✭✭
    edited October 28

    @josh_targo - Are you using variables in you part model? I may not have understood the question well enough, but you might try this - use variables to tie the sketch and model length together at the part level. Make all possible variations of configurations at the part level, then insert those configurations into the assembly - Once that one part (or more) are inserted you can make assembly configurations of part configurations. Sorry for the bad over simplified explanation, but I hope part of that made some sense.

  • rick_randallrick_randall Member Posts: 331 ✭✭✭

    After digging a little deeper, I think I see what you're running into - It's the sketch that loses all x-references to the current configuration. Yeah Josh, sorry but I don't have the answer to that one. Maybe others can help.

  • andrew_kleinertandrew_kleinert Member Posts: 67 PRO

    @josh_targo , would applying linear pattern to features instead of sketch elements allow you to generate the outcome you need? (eg: create a cylinder, and pattern the cylinder to remove material from the tube)

    https://cad.onshape.com/documents/ef6f117860ac79b9a0a51b11/w/fe522fd83151bddfa380fb79/e/a511043cc90f0c9056db24ed?configuration=default&renderMode=0&uiState=671ffd60458c490f0c9d7820

  • joshtargojoshtargo Member Posts: 269 EDU

    no, the whole point of the exercise is to use sketches instead of geometry to speed things up.

  • julian_julian372julian_julian372 Member Posts: 14

    Is the issues because each part you bring into a assembly, Part or sketches, when you update a "configuration" each part in the assembly is not linked to related parts. in turn they all have the own configuration profile.
    when you hover over the part is the instance view you can see the associated configuration variables.

    Part 1 has a configuration of length 5

    all the other parts have a configuration of 12


    if you group select and then right click change configuration so they all update to the requested configuration

  • andrew_kleinertandrew_kleinert Member Posts: 67 PRO

    Fair enough.

    A general comment - there's already a tonne of expertise and work required to create good design and to effectively capture design intent. Having to also optimize "to speed things up" adds an undesirable layer of complexity to all of that - which I've totally ignored but I'm now starting to suffer for my sins.

Sign In or Register to comment.