para-CAD Posted Tuesday at 11:29 PM Share Posted Tuesday at 11:29 PM I sure would like to have a different output than the one defaulted. Instead of: ¾ IN = 1 FT I'd rather have it be like this: ¾" = 1'- 0" PM me with a price, you macro masters!!!! Link to comment Share on other sites More sharing options...
Alaskan_Son Posted Wednesday at 02:56 AM Share Posted Wednesday at 02:56 AM Just sent you a PM 1 Link to comment Share on other sites More sharing options...
Joe_Carrick Posted Wednesday at 02:59 AM Share Posted Wednesday at 02:59 AM Scale: %box_scale.delete(' ').gsub('=',' = ').gsub('ft','\'').gsub('in','"')%-0" 2 Link to comment Share on other sites More sharing options...
Alaskan_Son Posted Wednesday at 03:25 AM Share Posted Wednesday at 03:25 AM 16 minutes ago, Joe_Carrick said: %box_scale.delete(' ').gsub('=',' = ').gsub('ft','\'').gsub('in','"')%-0" I might suggest some more concise, slightly faster, and less lossy coding to get the same end result: %box_scale.sub(' ft','\'').sub(' in','"')%-0" That being said, neither of these would handle any edge cases very well and would only work for very basic imperial scales. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now