Necked bolts are very useful. I do not know how to model them currently, except to calculate the cut thread depth and model an additional cylinder below the threads.
See attached screenshot for reference.
It would be very nice if I could choose some options for what to do with the rest of the unused cylinder when I don't use "full length" threading.