Global replacement of failed constraint references

Hi all

I imagine that the question has already been asked but I have not been able to find an adequate answer...

I have a room with a configuration present about fifty times in an ASM. I need to replace a hole with an oblong hole, unfortunately, the hole was done by a material removal. My parts use this hole as a stress reference.

Even though I used "Replace stress entities", Solidworks does not offer me to replace the face with the sketch point of my oblong on all my parts. From memory I sometimes have this pop-up, but only when I replace one part with another.

Is there a parameter to change? On the help it looks so simple
https://help.solidworks.com/2019/french/SolidWorks/sldworks/t_globally_replace_failed_mate_reference_help.htm?verRedirect=1

I'm using SW2019 SP5.0.

Hello
Your question lacks a bit of illustration. That being said, I have reconstructed what your problem could be in the attached illustration. The Replace Constraint Features tool seems to work well. You should see your modeling in more detail.

Have a nice day
Change of contrainte.pdf entity (861.0 KB)
plate and coin. SLDASM (169.8 KB)

1 Like

Hello

Indeed it's easier to visualize with an image.
I don't have the authorization of my company so I avoid posting any.
But your modeling matches. To constrain the new version with oblong, I think I'll use the central point of its sketch.

Here is a screen. When I validate the " Replace constraint entities", it corrects my constraint, but at no time does it offer me to correct it on the other 50 parts.

I'm going to try your ASM.

Thank you

When I download your ASM, I have the drilled parts but not the plate.
Also, the problem with my ASM is that it's not done with a repetition, otherwise it would be easy!
It's complicated to explain without an image but let's say that my ASM is more complicated than a plate with holes, that's why my colleagues had to move towards a solution with the parts constrained one by one.

Hello
From memory, if SW detects an identical part (same conf) in an assembly, it offers to correct the stress references when one is corrected on one of the parts.
It works relatively well on missing faces, for advanced functions such as centering in a groove I have a doubt (never tested and never had this kind of case).
In my opinion for this specific need, it doesn't exist as standard.

Mystery because here I am on the standard with a constraint of coaxiality on one point.
Thank you anyway

Okay, but if the point is in the sketch of the groove then it's unique for each entity. SW cannot therefore reproduce the constraint.

Hello

Otherwise you have to rework the assembly to make a repetition by sketch, which allows you to repeat the part and the screws very freely... I practice this solution quite often, I even use sketches of other assemblies to facilitate my redundant component placements

2 Likes

Good evening

As Mandragore suggests, it is "often" interesting, before starting a model, to think about the possible evolutions of it in order to orient oneself towards the tools and functions that will be most suitable for possible modifications.
In my example posted above, I used a derived pattern to place my n components. Reusing an existing pattern in a part at the assembly level creates a derived pattern.
Thus, by reusing a repetition of the screw holes of a housing at the assembly level, you not only place all the screws at once, but they are all linked. If there are 6 holes, you have 6 screws, and if you are told that 4 are enough, all at once, by putting only 4 holes, you will have 4 screws placed in the right place. On the other hand, if you put your screws one by one... Hope you won't be asked to put in 30.

Good night

2 Likes

Hello

Sorry for the response time, it's a bit busy at the moment.
Indeed, like any cartoonist, I have already learned the hard way that it is better to think in advance about your modeling. But for my assembly, I think the person who first drew it ~10 years ago couldn't have used a repetition because these subsets have different orientations and sometimes exceptions. Perhaps improvements would be possible, in particular rehearsals that manage orientation?

Anyway, to come back to my original problem, I don't understand why neither I nor my colleagues manage to have this pop-up to replace all the faces on identical parts.

Thank you for your help

Hello @iPoilz

Which version of SW do you have

Because since 2020 there are a whole bunch of tricks and new functions to quickly put constraints on all fasteners by screwing (screws, bolts, washers, etc...).

Kind regards

Unfortunately still in 2019 SP5.0

@iPoilz
So we must explore the avenues indicated by our colleagues!
I'm sending you some energy in the meantime

Kind regards

Well for now I'm going to stay on the temporary DIY solution, i.e. let the hole protrude by one hundredth of the slotted hole. Let's just say it's not the first time I've seen this on pieces ^^