cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Script 2D: visualize custom parameter

mest79
Newcomer
Hi,
I created an object with a custom text parameter "name_family" that indicates the category of the object (external, internal, etc.).
Can I view the text of this parameter in 2D?

For example, for the height of my object, in the 2D script I have this command

IF GLOB_SCALE = 51 THEN
text2 0.35, 0.17, STR("%0.2m", SYMB_POS_Z)
ENDIF

Thanks!
Architect
AC22 (3006) - i7-6820HQ, 16Gb, AMD FirePRO W5130, WIN10
1 ACCEPTED SOLUTION
2 REPLIES 2

Solution
Lingwisyer
Hero
You should just be able to replace your string variable with your parameter name. Depending on the text, you might need to first assign it to a Textblock then assign that to the Text2.

If _return = 1 then
		SET STYLE Standard

		rot2 90
		add2 0, ProWidth / 2
		t = (hLength - hLength2) / 2
		text2 t, 0, ProLengthT
		DEL 2		
endIF

That is a segment in one of my objects to display the parameter "ProLengthT" centred on the object.



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660 

mest79
Newcomer
Thanks!
Architect
AC22 (3006) - i7-6820HQ, 16Gb, AMD FirePRO W5130, WIN10

Start a new conversation!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!