Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Inconsistent Units for Generic Models - dimensions formula

radu.sebastian.pn
Participant

Inconsistent Units for Generic Models - dimensions formula

radu.sebastian.pn
Participant
Participant

Hello,

 

I'm trying to create a formula that should use a Family Type list and return a number to a dimansions parameter. Is it possible to do this? I receive the "Inconsistent units" error. 

 

Thank you very much!Inconsistent Units.jpg

0 Likes
Reply
305 Views
4 Replies
Replies (4)

martijn_pater
Advisor
Advisor

Your "DN" parameter was created incorrectly, check the parameter Type (length/integer/number etc.)...

scratch that, you're trying to check for a text value this is not possible this way. The way to do it is to create a type 50, which when selected selects the 50 family type aswell as sets the DN type parameter to 50. But you're trying to do it within the DN300 type I guess, can you elaborate what it needs to do?

0 Likes

radu.sebastian.pn
Participant
Participant

Hi and thanks for your answer!

 

I'm trying to do a drop-down list that can change the size of a pipe. 

I already have different types (DN 300, DN 250, etc) but I want to change another pipe's size within DN 300 type.. 

I was wondering if this is possible...

 

Thank you again !

0 Likes

Ilic.Andrej
Advisor
Advisor

@SteveKStafford posted an interesting solution for this. Read it here:

 

https://forums.autodesk.com/t5/revit-architecture-forum/friday-feature-4-create-a-revit-family-conte...

 

 



Andrej Ilić

phonetical: ændreɪ ilich
MSc Arch

Autodesk Expert Elite Alumni

martijn_pater
Advisor
Advisor

If you have multiple dropdown selections you need to base the types on it, ie.:

example type "DN 300-50"
select family type dn 300
select family type dn 50
set type parameter dn to 50mm

example type "DN 300-60"
select family type dn 300
select family type dn 60
set type parameter dn to 60mm

So, no formula's there. Here's the post mentioned above by @Ilic.Andrej, perhaps that is more in line with what you are trying to do.

0 Likes