Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inconsistent Units for Generic Models - dimensions formula

4 REPLIES 4
Reply
Message 1 of 5
radu.sebastian.pn
277 Views, 4 Replies

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

Inconsistent Units for Generic Models - dimensions formula

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

4 REPLIES 4
Message 2 of 5

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

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?

Message 3 of 5

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

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 !

Message 4 of 5

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

@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

Message 5 of 5

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

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report