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: 

Formula integer

4 ANTWORTEN 4
GELÖST
Antworten
Nachricht 1 von 5
kboschJGDNZ
3769 Aufrufe, 4 Antworten

Formula integer

Hello

 

I want the following formula to work with integers:

IF(condition=true,show parameter, show nothing)

This however only works when I fill a number at the last part. (show nothing = 0 or some other number)

"Show nothing" with a text parameter is just "", but with integers this doesn't work

 

Does anyone know a way to make this work?

 

 

Tags (2)
4 ANTWORTEN 4
Nachricht 2 von 5
L.Maas
als Antwort auf: kboschJGDNZ

While for a string "" is still a string. For integers you will need an integer value. So unfortunately you can not make this work. There have been ideas to be able to reset a parameter back to null (not assigned), but this is not implemented (yet?).

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Nachricht 3 von 5
kboschJGDNZ
als Antwort auf: L.Maas

Ok that's a pitty then. Hopefully this will be implemented some day.

Nachricht 4 von 5
ToanDN
als Antwort auf: kboschJGDNZ

You would wish there is something like what you can do in Excel, would you not?  Alas...

 

Capture.PNG

Nachricht 5 von 5
kboschJGDNZ
als Antwort auf: ToanDN

Now I think about it...you can suppress trailings...I wonder if you can supress a single zero. I'll check this out when I'm at work.Smiley (überglücklich)

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