para-CAD Posted April 28 Share Posted April 28 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 April 29 Share Posted April 29 Just sent you a PM 1 Link to comment Share on other sites More sharing options...
Joe_Carrick Posted April 29 Share Posted April 29 Scale: %box_scale.delete(' ').gsub('=',' = ').gsub('ft','\'').gsub('in','"')%-0" 2 Link to comment Share on other sites More sharing options...
Alaskan_Son Posted April 29 Share Posted April 29 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