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

Stop regular 2D hotspot from extending object

JGoode
Advocate

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 26 USA and earlier   •   macOS 12.6.1, iMac Pro 10-Core, Radeon Pro Vega 64

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

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

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

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.

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!