We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

GDL
About building parametric objects with GDL.

Stop regular 2D hotspot from extending object

JGoode
Expert

Hello,

 

I have a standard "hotspot2 a, 0" in my object. How do I stop the user from being able to select and drag the node to adjust the object size? I also tried to set the hotspot to _A (as I made _A = A) in the hopes that there would be a disconnect but I still have the issue. 

 

Thanks

ArchiCAD 23

Windows 10
4 REPLIES 4
Karl Ottenstein
Moderator

Lock A and B in your script

One of the forum moderators
AC 28 USA and earlier   •   macOS Sonoma 14.7.1, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB

I'm not able to lock A and B as I utilise these in the object. The issue is that when the regular node is dragged and changed, it doesn't trigger the "glob_modpar_name" in my script which also changes B to maintain proportionate sizing. 

ArchiCAD 23

Windows 10

If You do not have actuall hotspots on the say 0,0; A,0; A,B; 0,B then the stretching by those will be impossible, same to ZZYZX in the space.

Set it up as a 3-part hotspot which edits "A".

Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest

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!