I'd like to see some pics of that 30 foot clear span and the configuration that does it. First question is, are you trying to turn it into a home? I assume someone told you it "wouldn't meet code". Specifically what aspect are we talking about? Snow load? Structural? Electrical? Heating effeciency? If you're turning it into a home, a certified engineer in your county should analize the design to determine if the structure is sufficient for the snow loac for your area, the live loads you will add for second or third floors etc. If there is a problem, they can suggest ways to add to the structure to meet those requirements. Hopefully if they are good and experienced with timberframe (find and pay someone who is) they can do it so the additions are subtle, or fit in with the style of the frame. If by pass code they meant the specific condition of the timbers, they can be inspected and graded if necessary, and any sub-par components replaced, or damaged components replaced. Sil timbers in barns are not typically reused due to their proximity to the ground and moisture. The bottoms of post can be cut and the height shortened, or a repair to the post made. Perhaps the person could have meant that the height of the barn would not be allowed where you planned to re-erect it? In towns there are often height limits in residential areas. You definitely need to ask more questions and gather more information. Barn frames have been reclaimed and used many times.