Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Please help with my first if then problem..

4 ANTWORTEN 4
GELÖST
Antworten
Nachricht 1 von 5
MVE1112
438 Aufrufe, 4 Antworten

Please help with my first if then problem..

Hello all,

 

Improp boolean expression.PNG

I am trying to get a dimension to pick a size according to the DN parameter.

We use a DN size for pipes, DN 200 for example is 219.08 mm.

I want to be able to type 200 in the DN parameter and make the diameter change its size to 219.08.

I have added a screenshot of a formula i am trying to get working but i get an error and i have no idea why..

 

Thanks in advance!

4 ANTWORTEN 4
Nachricht 2 von 5
ToanDN
als Antwort auf: MVE1112

Get rid of all quotation marks.
Nachricht 3 von 5
MVE1112
als Antwort auf: ToanDN

Oh lord.. there goes half an hour of trying..

 

Thanks man!

I copied the formula from a family that does use the quotation marks..

Could you explain to me why in my case i can't use quotation marks?

Nachricht 4 von 5
ToanDN
als Antwort auf: MVE1112

You would only use the quotation marks if your diameter is a text parameter, they are for Revit to output the results as text.
Nachricht 5 von 5
MVE1112
als Antwort auf: ToanDN

Thanks a lot!

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report