Could you elaborate a bit more on what do you want to achieve here? Are you setting up just one expression that will convert the zone area to hectare and acre, or these are 2 different expressions? If I may ask, why won't you set up different expressions for different purposes (ie: convert square meter to hectare or acre if calculation rule is square meter/square feet?), as in the screenshot below?
Thank you for your help! Looking forward to hearing from you soon!
i Want a zone stamp that shows both Acres and Hectares
I am creating two different expressions one for hectares and one for acres
however Expressions will not show both correctly when calculation units are set to sq.ft.
I do not want to have any formula that can create two different answers.
I suppose I need to find an expression that converts measured area to metric only ?
Respectfully: I believe your not getting a answer because you are not submitting enough information as to your configuration.
For example: are you returning a number in your expression and canceling units OR are you using areas?
You should be aware that Archicad uses Meters for all internal calculations, However, if imperial is selected, Archicad will convert back and forth to metric from imperial automatically. You can not mix units except by using the conversion notations as this may confuse the system. if number is used for return,the number returned is done in metric which is probably why if metric is used originally there is no confusion.
I say this because I double checked the expressions using your scenario and it works perfectly for me.
I think the answer here is that: the expression calculation is based on the units set in Calculation Units & Rules. It is not possible to set up an expression that will work correctly regardless of unit setting.
In this case, if the area is set to use square meter:
- HA: Measured area/10000
- Acre: Measured area/4046.85
if the area is set to use square feet (thanks to Gerry's suggestion!)
- Acre: Measured area/43560
- HA: ((Measured Area/ 1 ft2) * 0.092903)/10000 (set return type to number and cancel out units then convert to hectares from sq ft.)
Let me know if this is the answer that you're looking for!