Since I am a glutton for punishment, I am using pipe routing. (SW2014 SP5.0)
I've been seeing the following issues with pipe routing sketches:
- SW says a sketch is overdefined when it obviously isn't. I mean really obviously isn't. For example, parallel intersecting lines are not considered collinear. If I try to define the endpoint of a pipe-stub line segment with some other fixed geometry (e.g., on plane), it will be OK until a top-level-assembly rebuild. Then it will through errors. I've had to resort to dimensioning the end point a tiny distance (0.01 in) from the desired endpoint.
- Colinear points cannot be merged sometimes. SW measuring tools says that the lines whose endpoints I'm trying to merge are parallel and intersect, but they cannot be merged.
- Some route errors can only be cleared by deleting the route assembly and starting over. I even have one where I deleted all of the segments in the 3D sketch and SW still claims it is overdefined! It doesn't get any more underdefined than having an empty sketch.
- Routes that are at one point in time have overdefined 3D sketches the next - without making any changes to the routes.
Is there a setting somewhere that chooses algorithms for determining degrees of freedom? Because whatever it uses doesn't work.
This is in addition to other issues with pipe routing (segments not using the elbow options selected for the segment, covering disappearing randomly - can fix this by splitting the route near any points on the route segment so that an entirely new route segment is formed).
SolidworksRouting
Display/Delete Relations is a powerful friend that you should get to know well. Pay attention to the drop-down filter, where you can limit it to External, Dangling, Overdefining, etc.
One useful study task towards figuring it out without starting over is to edit sketch, D/DR, delete all External (or another relevant category like Fixed), see if it is no longer overdefined, then exit sketch without saving. Then edit sketch again and select individual External relations or a similar subset of all, and delete those, exit sketch with saving, and edit sketch again to replace those only, saving as you go, until it is overdefined and then exit without save. It is a process of elimination among many options, then removal and replacement. Sometimes one relation duplicates another, which overdefines.
Another very overlooked tool for fixing the OD sketch in this process is Isolate. When redefining relations that you have removed, Isolate the sketch and its intended relation components, so that you are not relating it to a nearby or adjacent part instead.
I understand your comment is general, so I kept my advice equally general. These tips also apply to any other OD Sketch, but is particularly useful in Routing and Weldments.
Also, later releases have better OD troubleshooting among assembly mates, and may have better issue troubleshooting in sketches similarly (I haven't encountered that much since upgrading lately). For example in 2018, right clicking on a red error mate includes a tooltip that describes how it is broken, and possibly what could work to fix it. The stability enhancements are worth the upgrade if you can do so.
Unfortunately, the Display/Delete Relations tool is rarely useful here. When I have this problem, it doesn't show any dangling, overdefining/unsolved, or broken relations. Sometimes, I edit the route and the error in the feature tree goes away only to come back when I exit the route sketch.
I had this problem just now.
Note that I didn't use c-points and add them to the route to define the end of the pipe. This often times causes problems when I merge the end points of the stubs (if SW will allow it - it's seemingly random). The sketch will be OK until I try to edit the route again.
I worked around this problem by deleting the pipe assembly and adding a new one. It took a couple of times to get it to not throw any errors (for now). Every time I added a pipe stub, a line segment, or added a relationship, I exited the sketch. I think the problem (this time) had to do with using the "add point" tool and connecting that pipe to a pipe with a smaller diameter than the default pipe diameter for the route. Although the pipe on the line segment would update to the smaller pipe diameter, it would throw a rebuild error on exiting the route. Once I used the "add point" tool, the only way to get rid of a rebuild error was to delete the pipe assembly and start over. Using a c-point in one of the external components appears to not be a problem. Maybe if I manually changed the diameter of the route segment before joining it to the other pipe stub, it wouldn't have caused a problem, but since I have to delete the entire pipe assembly when I get the error, I'm not about to try that method.
I'm guessing that there are some hidden relationships that are being added when using the "add point" tool.
So my work arounds are:
Ken,
Using 2014 is downright masochistic but I guess one has to make do with one has.
Sometimes a rebuild will result in red and yellows all over the place but then when you go edit route it can happen that it fixes itself.
Many has been the time, in the beginning, that I was trying to fix things until either the program crashed or I terminated the program out of pure frustration only to restart it and opening the routing assembly prior to my repair efforts to find that there was no errors.
1. Been there, done that. I even wrote on this forum about it that in routing you could have a route with two legs that are set to be perpendicular to each other, one being on the X plane the other on the Y plane and still not able to but an elbow fitting in because it's not perfectly 90°.
That doesn't seem to happen any more with the newer versions.
2. I know it's tempting to rely on the measuring tool to check if something is colinear or parallel to something else but don't forget that the measuring tool only shows you the measurements depending on the accuracy that you have your system set. In other words, if you only have 2 numbers past the decimal point it can happen that it says that the deviation between two entitities is 0.00 when it actually is 0.000005 and there for you can't get a mate to work.
3. ROFLMAO ! Sorry, to be laughing but it is funny when it's happening to someone else. Small consolation, I've experienced similar things in the past. E.g.: having something without external references that is underdefined, removing a particular sketch relation, result is that it's overdefined. When that happened my colleagues where probably thinking of calling the funny farm because I was laughing rather hysterically.
Covering in routing, I've no clue about electrical, but even today (2018) it's still something that is not fully working to my statisfaction. It works on pipes and elbows but that's about it. Whenever there's any other kind of fitting the covering doesn't cover it. I thought to use it to help determine conflicts but no covering on fittings makes it pretty useless for that.
Perhaps I don't understand the functionality. Then again, adding a covering shouldn't be rocket science for the end user to implement.
In general 's suggestions are the way to deal with it in my experience as well. The Display/Delete Relations tool is my go to tool whenever something strange is happening.
Sometimes it's my own stupidity that is the root of the error but too many times it still happens that it isn't.
In short, you've got my commiserations and know that you're not alone.
Doing the same thing over and over again and expecting different results = Insanity
Doing the same thing over and over again and getting different results = Routing.(on a bad day or a bad iteration of the program)
Hi Ken,
I am using the Routing Add-In with Solidworks 2017, and finding the same issue. It seems that a major contributor to sketch relation errors is the colinear relationship between the route line from a cpoint and the axis of that cpoint. Typically, if I delete that sketch relationship and redefine it to be concentric with the connecting port, I get a much more robust routing assembly.
Maybe that will help someone
Ken, if it's the same issue I was having, the solution is easy. When you create a route by dropping a flange or however you create it, the very first thing I do after SW adds the pipe stub is delete the automatic co-linear relation it adds, then define the line, along x y or z or if it's from a flange, concentric... you get he idea? That's what was causing those issues, at least for me. The other thing you can try click on the over defined thingy in the status bar, it will show you what's over defining your sketch.