Window schedule's unit of measurement display


LisaKobar
 Share

Recommended Posts

Hi all,

 

I haven't written macros in decades :huh: and was wondering:

  • Is there a macro for the width and height field of the window schedule that will allow me to display in '-" format instead of the " only format? And, if so, how and where would I add that macro?

OR

  • Is there a macro I can add to a custom object field that will allow me to use those fields in my schedule so I can show '-"  instead of the " only ?  When I add the field value (ex.) %height%  to my custom field Unit Height it displays in my schedule as inch units only (ex. 65 with no " indicator) not as foot-inch.

Would like  5'-0" displayed.

 

Thanks

Lisa

20200311_142642.jpg

20200311_142620.jpg

Link to comment
Share on other sites

A macro written using the X12 NumberFormatter class would do it.

A macro written using the X12 Measurement class could also do it.

 

The unit designation would need to be specified as "'-\"" in order to get that format.

 

In either case you would need to use a Custom Field / Column.

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