Setting a weight limit I don't know if it's feasible but on the other hand you can control the weight of your part or assembly by doing "mass properties" in the Evaluate tab.
When you do design, it is very common to have rules to follow such as the weight of a part, a length to respect, etc. With the sensor function, it is possible to put its rules in your files and in case of non-compliance with these rules, SolidWorks will give you an alarm.
@Bart, when you talk about density sensors, would you only have an impact on the material? Because no matter what the design changes, if you keep the same material, your density won't move
Thank you for your answers:), I'm testing the sensor function, I'm already validating the question, but I'll probably put some additional if I find stuff that I can't use;)