Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.
2018-05-04 05:30 AM
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
Solved! Go to Solution.
2018-05-04 05:59 AM
Lingwisyer wrote:If variable_x is a string value then you can just concatenate (add) them together.
1. How do you insert a variable into a text string? eg. "1:variable_x@ A1"
"1:" + variable_x + "@ A1"If variable_x is a numeric value then you have to convert it to a string.
"1: " + STR(variable_x,2,0) + " @ A1"
Lingwisyer wrote:variable_y must be a string variable of course.
2. How can you insert a text string at the end of a calculation? eg.variable_y= variable_x*5 "outlets"
variable_y = variable_x + "*5 outlets"If variable_x is a numeric value then you have to convert it to a string.
variable_y = STR(variable_x,2,0) + "*5 outlets"Or if you actually want to multiplt variable_x * 5 then
variable_y = STR(variable_x*5,2,0) + " outlets"
2018-05-04 05:59 AM
Lingwisyer wrote:If variable_x is a string value then you can just concatenate (add) them together.
1. How do you insert a variable into a text string? eg. "1:variable_x@ A1"
"1:" + variable_x + "@ A1"If variable_x is a numeric value then you have to convert it to a string.
"1: " + STR(variable_x,2,0) + " @ A1"
Lingwisyer wrote:variable_y must be a string variable of course.
2. How can you insert a text string at the end of a calculation? eg.variable_y= variable_x*5 "outlets"
variable_y = variable_x + "*5 outlets"If variable_x is a numeric value then you have to convert it to a string.
variable_y = STR(variable_x,2,0) + "*5 outlets"Or if you actually want to multiplt variable_x * 5 then
variable_y = STR(variable_x*5,2,0) + " outlets"