When evaluating the mass of my assembly, I get the message "The following components of this assembly do not have a valid density. Please correct them [...] ".
This is (imported) hardware and I don't want to allocate a (negligible) mass to it.
How can I force the function to weigh the assembly considering zero or lump sum mass for the defective components?
The question indicates that I do not wish to touch up my pieces. Between assigning a mass and assigning a density, it's the same amount of work. And besides, I can't do it: something isn't working.
That's why I'm simply looking for a way to force the weighing. Software-wise, it's trivial. It would be surprising if the developers didn't plan for that. Maybe a menu in the options? I searched but couldn't find it.
I'm a little surprised, normally SW applies a default density when there is no material filled in (at least that's the behavior I have on the 2021 and from memory it's always been like this). On the other hand, it can completely distort the calculation (on my files it applies a density of 2.5 so for screws it's certainly negligible but to be careful on all imports).
Thank you for your answer. Here is attached the error pop-up for weighing.
I assigned a mass to the faulty elements but yet I still get the error message when I weigh the assembly (after reconstruction). Assigning a material to the volume body doesn't work weirdly.
Ok, I'll keep that for next time: check at the time of import.
I don't have MyCad (solidworks Premium?). For this time I removed the buggy parts and assigned a mass or density to those that accept it. Laborious work since it lags.
If the masses are negligible, I will group the components together to easily hide them in the assembly, which should allow me to have the mass of the rest of the assembly.
If that doesn't work, I'll select only the components I want.
Good idea but it doesn't work well because the Feature Manager's search function is slow down and even fails to find the target. So I opted for a very basic but ultimately comparatively effective method since it doesn't make the software lag: search for the parts in the Windows Explorer and open them one by one.
Well done! I found the origin of the error: it comes from the multi-format CAD export tool on the website of the distributor of the part. The generated volume model contains a geometry error. In addition, failed the function recognition tool.
So I imported it as a step and the pb was solved: non-zero volume.