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: 

Beginner Revit Formula question- how to subtract

5 ANTWORTEN 5
GELÖST
Antworten
Nachricht 1 von 6
mmcintosh-ral
4154 Aufrufe, 5 Antworten

Beginner Revit Formula question- how to subtract

Hi,

I am unable to find a detailed description of expected syntax for how to subtract a number from a parameter in a calculated field.

 

I would like to subtract 4" from the Width parameter of a door.

 

Here are the combinations I have tried in the calculated value formula window for a new calculated field in my door schedule:

 

parameter selected from list minus a number: Width -4

error received: inconsistent units

 

retyped as: Width-4"

error received: inconsistent units

 

retyped as: Width-.33

error received: inconsistent units

 

retyped as Width -4 (space added between Width and -)

error received: inconsistent units

 

retyped as Width -0'4"

error received: inconsistent units

 

I understand this is not Excel world, and an equals sign is not needed in front of the expression (receive error message: Operator not expected:=)

 

Where can I find instructions on basic syntax for mathematical expressions in a calculated field?

 

The help documentation I have found does not start at this basic level.

 

thanks in advance for any help.

 

 

 

5 ANTWORTEN 5
Nachricht 2 von 6
cbcarch
als Antwort auf: mmcintosh-ral
Nachricht 3 von 6
Alfredo_Medina
als Antwort auf: mmcintosh-ral

@mmcintosh-ral Pay attention to the type of data of the calculated value. If you make it as "Length", it will work with:

Width - 4". 

Look at the highlighted setting:

 

2018-05-24_9-30-53.jpg

 

 


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
Nachricht 4 von 6
mmcintosh-ral
als Antwort auf: Alfredo_Medina

Thank You Alfredo!

 

Great information that I could not find anywhere else.

 

Nachricht 5 von 6
barthbradley
als Antwort auf: mmcintosh-ral

If all else fails...

 

fingers.gif

Nachricht 6 von 6
ToanDN
als Antwort auf: mmcintosh-ral

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