Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Converting integer/numeric data to text data

Anonymous
Not applicable
Hi, as the title says I was wondering if there is a way to convert an integer/numeric data into a text data (please bear with my scripting ignorance).
What I'm trying to create is a label for my roofs. It's a simple triangle with 2 different text values that indicates the roof slope (only 2d). What I've done so far is: I created a new Integer Parameter named as 'Roof Slope' and I'm using that value in order to change the length in the triangle sides and also replace the text accordingly (so far everything works). The problem is that I need that same value from the 'Roof Slope Parameter' to show up also as TEXT, replacing the one of the two originally texts that I have in there. Is there a way to achieve that??
Thanks!
10 REPLIES 10
Anonymous
Not applicable
Like you said, I draw it in floor plan view and I saved it as an object. Archicad automatically created that type of code. I started playing with the code only when I realized my extra needs... I did a lot of search in the net looking for instructions and examples and also to the GDL guide, but at 80% all I do is guessing and trying....