This really shouldn't be this difficult, but I suspect it's impossible...
Basically, we've decided to use curtain walls for our glazing moving forward. Whislt I'm opposed to this and would prefer to use windows, there is a sense of logic to it (flexibility and simplicity especially). So I'm trying to create a wall tag that will report the "window" size in an Aus standard: HHWW Fx (i.e. Height x Width rounded to nearest decimeter; primary function. So a 1200mm x 2400mm Fixed window reads as 1224 Fi).
So long as the window size is greater than 1000mm in both directions this is simple enough with two calculated parameters (Unconnected Height / 100mm and Length / 100mm) and an instance parameter for function. But, if the window is less than 1m I need it it to still be two digits (e.g. 09 for 900mm). There is no way on Revit's Green Earth to do this natively inside the tag family. Every single combination I've tried either drops the leading zero, or throws up inconsistent units errors (for conditional statements > converting to a string). With no way of extracting/pushing data between family type paramters and the label paramters in a tag, I'm extremely limited wrt janky work-arounds.
The one work-around I had was manual: create (four) different types within the family using conditions + visibility to switch on/off tags with a hard 0 prefix. But that is far too manual (and cumbersome) and prone to error, especially on larger projects. I've looked at Dynamo, specifically this @ the architect's blog, but I have no idea how to even get started tying that into a wall tag family.
Help me Obe Wan Kenobi, you're my only hope...
p.s. some justification: curtain walls instead of windows. Whilst I'm a bit of a purist and prefer to use proper elements in a model, complex windows that can offer complex changes to panel types and/or number of panels/mullions on the fly - or jointless corner windows, which we use a lot - became far too complex to use and create...