cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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

Adjustable Hotspot for Textblock width

JGoode
Expert
Hi,

Is it possible to add a 2D adjustable hotspot to adjust the width of my textbox?

My text scales with the global scale which is what is causing the issue.

Is there a way to get around this?

Example code for reference:
	HSID=1 
	hotspot2 0, 0,HSID, widthx, 1+128     !base 
	HSID = HSID+1 
	hotspot2 -1, 0, HSID, widthx, 3      !reference 
	HSID = HSID+1 
	hotspot2 widthx, 0, HSID, widthx, 2   !moveable 
Thanks
ArchiCAD 23

Windows 10
10 REPLIES 10
Lingwisyer
Guru
If _ViewScale = 0 then
		View_Scale = 1
	else
		View_Scale = GLOB_SCALE
endIf



mul2 View_Scale, View_Scale

Not sure how that works with editable hotspots though...

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