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.

who do I group a set of scketch entities

no_name433no_name433 Member Posts: 3 EDU
Hi

I Am trying to copy/paste a group of sketch entities and then position the pasted entities in their new location.

I paste the group:

  

And then I am trying to coincide one of the points to a reference line so the new entities will be centered.
When I add the new constraint only one point moves to the new location, what I need is for the entire set of entities to reposition.



Is there a way of doing what I'm trying to do? What is the right way of doing that?

Thanks

Erez

Answers

  • SethFSethF Member Posts: 130 PRO
    edited March 2022
    A link to a publicly shared document would go a long way for people to troubleshoot your specific situation, but I think you're having a very similar issue to this post here. Your sketch has to be fully defined in its own reference frame. 

    Everything in this example the only dimension constraints are lengths of lines. When I had things defined with a point-to-point dimension to the spline control point, that dimension was not coming through, so I instead dimensioned the line to the spline control point instead. So from that limited experiment, I'd guess that certain ways of dimensioning and constraining may work better than others to make them able to copy and paste reliably.



  • wayne_sauderwayne_sauder Member, csevp Posts: 551 PRO
    edited March 2022
    @no_name433
    I think it is an issue of not properly constraining the sketch entities. Make sure that your original sketch is completely constrained (ideally all lines and points turn black) then copy and paste. Yes, it is possible to do what you are trying. 
  • eric_pestyeric_pesty Member Posts: 1,881 PRO
    You can also select the group of things you want to move without fully constraining them using the transform command, this will let you move them all at once (but the result won't be "parametric", ie the position will not update later on). You can move the manipulator origin to existing reference point (you may need to add one if you dont' already have it) and when you drag this point will snap to other geometry. 
  • angelo_scozzarellaangelo_scozzarella Member Posts: 58 EDU
    Is there a way to full constraint a sketch with a single command?
  • S1monS1mon Member Posts: 2,980 PRO
    Drag select all, use the Fix constraint.
  • angelo_scozzarellaangelo_scozzarella Member Posts: 58 EDU
    Thank you.
  • Curt_WelchCurt_Welch Member, csevp Posts: 42 ✭✭

    So, the answer here is, "You can't do it." I also need to group a set of sketch entries for similar reasons as the original questions.

    The sketch was a copy and paste from another document, but I want to parametrically attach this sketch to a reference of the part I've added it to.

    The best I can do is fix all the entries, and use transform to move them. That gets it in the right place but there are no parametic updates when the reference point moves. It gives a constraint error instead. At least I know it's an issue, but then must remember later what it was attached to etc.

    I can add 20 dimensions to the sketch to tie all the unconstrained entities together, but that's a pain worse than as justified.

    What I want is a group command like in assemblies that lock the items to a group relative to each other but leaves the group still unconstrained. Then that group can be transformed to the correct location, and then hopefully move as the reference point moves.

    Am I correct that this sort of sketch entity group feature just doesn't exist?

  • S1monS1mon Member Posts: 2,980 PRO

    There's no built in group function like in other systems, but there are many ways to work around it. This is an older thread.

    We can now use sketches like parts in assemblies if that helps. This can be good for 2D or even 3D motion studies.

    Depending on what your sketch looks like you can also turn it into a surface in the part studio and then use the part transform feature to move, rotate or scale the surface. This can then be thickened or turned back into a sketch.

    If the sketch "group"/"block" is something that you're going to use over and over, consider putting it in another part studio or even a different document and deriving it into other part studios to use it. In that case I would consider a surface or even part model approach to keep the derived geometry as a thing that can be placed and scaled however you want. I've done this for logos.

Sign In or Register to comment.