Help with inconsistent units in formula

Help with inconsistent units in formula

Sahay_R
Mentor Mentor
16,678 Views
6 Replies
Message 1 of 7

Help with inconsistent units in formula

Sahay_R
Mentor
Mentor

I am trying to create a formula that multiplies an area parameter by a number. I am trying to calculate Net Square Footage for rooms by subtracting the area of casework ( a text shared parameter that is entered manually) multiplied by the number of casework (again, a manually entered text parameter) I am frustrated by the 'inconsistent units' error message that pops up all the time. Is there a conversion factor involved? Any words of wisdom would be appreciated.


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
0 Likes
Accepted solutions (2)
16,679 Views
6 Replies
Replies (6)
Message 2 of 7

ToanDN
Consultant
Consultant

@rsahayUZMK9 wrote:

I am trying to create a formula that multiplies an area parameter by a number. I am trying to calculate Net Square Footage for rooms by subtracting the area of casework ( a text shared parameter that is entered manually) multiplied by the number of casework (again, a manually entered text parameter) I am frustrated by the 'inconsistent units' error message that pops up all the time. Is there a conversion factor involved? Any words of wisdom would be appreciated.


the area of casework: needs to be an Area parameter

number of casework: needs to be a Number or Integer parameter

0 Likes
Message 3 of 7

L.Maas
Mentor
Mentor

In Revit a parameter of type text is text and can not be converted to a Number or Area

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

0 Likes
Message 4 of 7

Sahay_R
Mentor
Mentor

Sorry I wasn't thinking as I typed. Senior moment here....

 

CW Area - area parameter, entered manually into Room

Number of CW - integer. Also entered manually into Room

 

The desired end result is a schedule.

 

 


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
0 Likes
Message 5 of 7

ToanDN
Consultant
Consultant
Accepted solution

Works fine here:

 

Capture1.PNGCapture2.PNGCapture.PNG

Capture3.PNG

Capture4.PNG

0 Likes
Message 6 of 7

Sahay_R
Mentor
Mentor
Accepted solution

TY. In the meantime, the version that worked for me was 

 

roundup(Area / 1 SF - (Number of Casework * Casework Area / 1 SF))


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
Message 7 of 7

ToanDN
Consultant
Consultant

Strange.  Your formula suggests that the Net Area parameter is Number, not Area.

0 Likes