Argument’s Data Type is Not Correct

If you get this error, check to see which data types are required by each argument in the Function.

Example 1: Check Required Data Types for Each Argument

This Expression uses the LEFT function with two Arguments. However, the error message indicates a problem with the Arguments’ Data Type(s).

https://helpcenter.graphisoft.com/wp-content/uploads/archicad-23-reference-guide/045-propertiesclassifications/LEFTError.png 

In Expression Editor, hover over the LEFT function name.

Check the pop-up to see the required data types:

https://helpcenter.graphisoft.com/wp-content/uploads/archicad-23-reference-guide/045-propertiesclassifications/LEFTHover.png 

You see that the first (Text) argument must be a string, and the second (NumberOfCharacters) argument must be an integer.

But your expression contains two strings, which is incorrect:

LEFT (“The quick brown fox”, “The quick”)

Solution

Change the second argument to an integer.

LEFT (“The quick brown fox”, 9)

Example 2: Check Required Data Types for Each Argument

This Expression uses the POWER function with two Arguments. However, the error message indicates a problem with the Arguments’ Data Type(s).

 

https://helpcenter.graphisoft.com/wp-content/uploads/archicad-23-reference-guide/045-propertiesclassifications/POWERError.png 

In Expression Editor, hover over the POWER function name.

Check the pop-up to see what data types are required by each argument in this Function:

https://helpcenter.graphisoft.com/wp-content/uploads/archicad-23-reference-guide/045-propertiesclassifications/POWERHover.png 

You see that the second (Exponent) argument must be an integer or number.

Your expression contains two Lengths, which is incorrect:

POWER (2m, 3m)

The second argument (Exponent) must be an integer or a number, without a unit.

Solution

POWER (2m, 3)

Example 3: Check Required Data Types for Each Argument

This Expression uses the CONCAT function with two Arguments. However, the error message indicates a problem with the Arguments’ Data Type(s).

https://helpcenter.graphisoft.com/wp-content/uploads/archicad-23-reference-guide/045-propertiesclassifications/CONCATError.png 

In Expression Editor, hover over the CONCAT function name.

Check the pop-up to see what data types are required by each argument in this Function:

https://helpcenter.graphisoft.com/wp-content/uploads/archicad-23-reference-guide/045-propertiesclassifications/CONCATHover.png 

In the CONCAT function, all arguments must be strings. A text is a string if it is in quotation marks.

In your expression, the first argument is a number, which is incorrect:

CONCAT (1, “a”)

Solution

Change the first argument to a string by doing one of the following:

by enclosing text within quotation marks:

CONCAT (“1”, “a”)

or by using the STR function:

CONCAT (STR (1),“a”)

  • Was this Helpful ?
  • YesNo
Relevant topics
Data Type Not Available in ARCHICAD
This error appears if the function produces a result whose Data Type does not exist or is not supported in ARCHICAD. Solution Correct the ...
Not [NOT]
Changes False result to True and vice versa. Syntax NOT (Logical) Data Types of the Arguments True/False Data Type of the Result ...
Data Type Cannot be Changed
For this Property, you cannot change the Data Types to one that uses model units (Length, Area, Volume, Angle). These Data Types are greyed out in ...