Elevation Marker Formatting Question


JKEdmo
 Share

Recommended Posts

Good morning,

 

I thought I'd get fancy (i.e. try to learn something new) and have my plan marker report back the room subfloor elevation instead of typing in manual text like I always do.

 

image.thumb.png.58d1c49d9090e4fff865a63d158f4b22.png

 

Result:

 

image.thumb.png.30cc8fc2fcfe6fd7149879a23a8ab926.png

 

It reports back in inches.  Anybody know how to get this to report back in feet + inches?  You can point me to a forum thread or video if easier.  Was not sure what key phrase to search for.

 

Thanks in advance,

 

Jim

Link to comment
Share on other sites

Maybe this will help.....

Paste this in your field..... Got it from https://www.rabbittdesign.net/chief-architect-number-formatter?fbclid=IwY2xjawKu2cFleHRuA2FlbQIxMABicmlkETFucXhGakFQc1pHbTVuekF4AR4_rxL6IWqpdEPAKw-xx_NCN8xLMyYJVIkI_rQHdIXYTin8CO2rvUgo9KwIiQ_aem_K-yohSgoiUU1nN4wwzjB6A

 

% (NumberFormatter.new.tap { |nf| nf.use_fractions = true; nf.denominator = 16; nf.unit = "'-\""; nf.show_unit = true; nf.thousands_separator = ','; nf.show_trailing_zeros = true; nf.reduce_fractions = :gcd }.apply(room.floor_elevation))%

 

 

Link to comment
Share on other sites

2 hours ago, SHCanada2 said:

search for "All words" macro feet inches

 

I've seen a few posts on it. I think I saw one by AlaskanSon, so you could also try search by user

Thank you.  Will do.

Link to comment
Share on other sites

1 hour ago, PitMan71 said:

Maybe this will help.....

Paste this in your field..... Got it from https://www.rabbittdesign.net/chief-architect-number-formatter?fbclid=IwY2xjawKu2cFleHRuA2FlbQIxMABicmlkETFucXhGakFQc1pHbTVuekF4AR4_rxL6IWqpdEPAKw-xx_NCN8xLMyYJVIkI_rQHdIXYTin8CO2rvUgo9KwIiQ_aem_K-yohSgoiUU1nN4wwzjB6A

 

% (NumberFormatter.new.tap { |nf| nf.use_fractions = true; nf.denominator = 16; nf.unit = "'-\""; nf.show_unit = true; nf.thousands_separator = ','; nf.show_trailing_zeros = true; nf.reduce_fractions = :gcd }.apply(room.floor_elevation))%

 

 

Thanks.  I'll take a look at this.  Started reading a little in the manual about Ruby.  A little hard to wrap my brain around!

 

Jim

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share