Design Table Generating a Cosmetic Thread Error

I've run into an issue where using a design table to change the length of a cosmetic thread is generating an error.

The goal was to create a simple internally tapped stud with configurations of different lengths. As the stud length changes so should the depth of the cosmetic thread.

The process is:

1 - Create a solid

2 - Put a hole in it

3 - Add a cosmetic thread

4 - Create a Design table that changes the length of the hole/solid and also changes the threaded length in the cosmetic thread.

The result is that the feature tree flags a warning saying the thread depth is out of range even though the cosmetic thread is clearly shorter than the hole in the given configuration.

Interestingly enough if I create the design table smallest to largest the table stops processing when the cosmetic thread gets longer than the hole in the shortest configuration. If the table is organized largest to smallest the model builds the correct configurations but flags the error mentioned.

I've attached a simple file that shows the warning error.

I'm on SW13, SP4. Other people can open the file and have the same issue.

Can anyone replicate my problem?

Any suggestions for a work around?

SolidworksConfigurations design Tables
Answers 14
MK
MK 2013-10-18 Best Answer

I've got to be missing something, but I'm going to ask anyhow.  'The table stops processing when the cosmetic thread gets longer than the hole'.  You've selected the hole edge to define the cosmetic thread, as you're doing an internal thread.  If the cosmetic thread is longer than the hole, I hope SW would throw up a flag.  Also, why do you not dimension the hole depth?  Wouldn't it be easier to know the internal thread is shorter than the blind hole depth if you have these two columns (hole depth vs cosmetic thread length) side by side?  Or create an equation to drive the cosmetic thread depth?

Sorry to ask more questions than give answers, but maybe it'll spark the right idea.

MK
MK 2013-10-18

Strange, first time I have seen the graphics area dimension and property manager dimension be a different value, for the same dimension.  This is the depth of the cosmtic thread for you length 8.

comment imagecomment image
MK
MK 2013-10-18

Change your thread standard from ansi to none.  It will result in the cosmetic thread 'runout' going from a V shape to flat bottom.  See pictures.

comment imagecomment imagecomment imagecomment image
SF
SF 2013-10-18

What I mentioned was: the table stops processing when the cosmetic thread gets longer than the hole in the shortest configuration.

For example:

Configuration 1

Hole length: 0.5

Thread Length: 0.25

Configuration 2

Hole Length: 0.75

Thread Length: 0.5

Configuration 3

Hole Length: 1

Thread Length: 0.75

Configuration 1 and 2 build correctly. Configuration 3 does not build because the thread length of 0.75 is longer than configuration 1's hole depth. I would have thought configuration 3 would have been independent of configuration 1!

Does that explain it better?

SF
SF 2013-10-18

Something rather odd seems to be going on:

When I check (left click on cosmetic thread, right click on dimension) the two numbers are the same.

I then right clicked, edit feature on the cosmetic thread and now my dimensions show as yours do.

Odd indeed!

MK
MK 2013-10-18

That does explain it a bit better. 

Did you try my last suggestion?

Edit feature of the cosmetic thread, change the standard from 'ansi inch' to 'none'.  Resolves your problem.

SF
SF 2013-10-18

Oh, and to answer your other questions:

- The threaded length is set by a manufacturer which is, of course, always shorter than the hole depth. The problem is the influence of other configurations in the design table.

-The manufacturer setting the length precludes using equations or setting a standard distance as they have been a little erratic with their specifications. Hence why a design table is perfect for the job!

Thanks for asking!

SF
SF 2013-10-18

Interesting threory!

I've tried the process outlined in the first post twice more. Once with the ISO thread option (I'd really like to preserve the metric implication of the thread) and once with no standard specified. Both processes resulted in the same error coming up.

Thanks for the suggestion though.

JG
JG 2013-10-18

Matthew,

I tried in my SW and you may want to modify few things

  • Try to change the depth of cosmetic thread to "upto next"
  • If you are particular about the depth, add a column in the design table and specify the depth

See the picture showing 2 different configurations

comment imagecomment image
SF
SF 2013-10-18

Hi John,

Thanks for the response.

The depth of thread is specified by the manufacturer so up-to-next is not an option.

Also, as per the original post, the problem begins with using a design table to specify the lengths. Check out the original attachment for the design table driving the thread lengths and the error that occurs.

SF
SF 2013-10-18

Yes I did try it and no, unfortunately it doesn't resolve the problem.

The issue is deeper than "the thread is longer than the hole".

It seems to me that it is more like "When the thread length is defined in a design table the thread length of Configuration X cannot be longer than the depth of hole in Configuration Y where Configuration Y has the shortest hole depth".

That's about the most succinct way I can think of describing the issue.

SF
SF 2013-10-19

After talking to the Solidworks Support at Hawkridge we discovered that this is a known bug and is still on the to fix list.

SPR: 692196.

The solution is to delete the cosmetic thread and re-insert it without selecting the starting face. (simply editing and unselecting doesn't work as SolidWorks automatically reselects the face)

From there everything works as I would expect it to.

Thanks to everyone who commented.

IF
IF 2016-01-27

SW2016 sp1 has the same problem.4 years without changes,Dassault, I love you)).

I solve this problem by linking thread dimensions to sketch dimensions by means of two equations (one for diameter and second for length).

For example: d3@CosmeticThread=d3@Sketch1 and b@CosmeticThread=b@Sketch1.So design table drive the sketch and sketch drive cosmetic thread feature (see how Toolbox part is made).

And second, if you use derived configurations don`t leave thread dimensions(d3 and b@sketch1) blank in design table.Put values for thread diameter and length in each design table row (not only for parent.

Good luck.

HS
HS 2019-04-18

This worked great for me. Thanks!!!

Unbelievable I have SW2018 and this is still an issue.

Depth@CosmeticThread ="ThreadDepth@HexBoltRefDims"

If anyone wants the CAD model and corresponding design table it is right here:

https://grabcad.com/library/universal-iso-4014-metric-hex-head-bolt-1

comment imagecomment image