Hi, I want to add formula to coverage parameter which calculates as foot print area/lot area. But I get inconsistent Units. I know that coverage is text parameter and foot print area/lot area are area parameters, but I can't find any solution. Thanks for helping
Gelöst! Gehe zur Lösung
Gelöst von ToanDN. Gehe zur Lösung
You cannot have a Text parameter as a result of math formula. It should be a Number parameter.
why is coverage a text parameter? Do you want it to return a value of "Too Much" or "Too Little" or "Just about Right"?
I changed it to number and this time got another error "Division By Zero", and still doesn't let me write A/B
Because your B = 0 base don your screenshot. Change it to a different value before adding the formula.
Add * 1" or / 1" to the end. I'd explain why this works, but I'm pretty sure you'll get it once you think about it.
Basically you need to ensure three things:
1. Your equation does not divide by zero. EVER.
2. Your equation returns a value of the type expected (a number parameter in most cases).
3. If the parameter is expecting an area, that it returns SQUARED units (may have to multiply by 1 unit in order to square). If it is just a number that it returns NO units (may have to divide by 1 unit in order to remove units). If it is a length that it returns a united value (may need to multiply by 1 unit in order to add units to value or divide by unit to make squared units into units).
Inside the family, the values are all 0, but inside the project, they are fillable as you can see in attached files. You are right the division doesn't work because the values are 0, but I don't know what to do.
Ohh, Thanks it did work, but this time the rounding is grayed out
I need to have 32%
By the way, adding /1 and *1 as suggested by @Anonymous is a good way to iron out the Inconsistent units in a formula when the parameters in the formula are not of the same Type (Length vs Area vs Volume etc...).
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.