Macros to convert inches to feet & inches?


BrianSmith
 Share

Recommended Posts

Using preset macro "%room.height.ceiling%" to add ceiling height to Room Labels.

Does anyone know how to change this from inches to feet & inches?

 

While we're at it... anyone know how to have the "%room.dimensions%" macro show from framing instead of finished drywall?

 

Thanks.

CA ROOM LABEL TO STUDS.png

Link to comment
Share on other sites

This is the one we use for the ft-in:

 

obj = owner

obj = referenced unless referenced.nil?

nf = NumberFormatter.new

nf.unit = "'-\""

nf.use_fractions = true

nf.apply(obj.room.ceiling_height)

image.png

Edited by JonathanK
Added picture.
  • Like 1
Link to comment
Share on other sites

4 hours ago, BrianSmith said:

While we're at it... anyone know how to have the "%room.dimensions%" macro show from framing instead of finished drywall?

I don't think you can. Some of these macro gurus might be able to direct you on how to create your own macro.

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