BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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

Hotspots in macros

Andreas _kerlund
Contributor
Hi!

I wonder if anybody knows if there is a way to not include 2d hotspots when you call, for example a furniture object, as a macro into another object (in this example a furniture group object)?
The result with all the hotspots is confusing at best and in worst case they interfere with move hotspots in the group object.
Andreas Åkerlund, Arkitekt SAR
Arkitekthuset Jönköping AB
ArchiCAD 5 to 25
Windows 10 64 bit
Intel i9 7920x @ 2.9 GHz, 64 GB RAM
1 REPLY 1
Barry Kelly
Moderator
You can if you script it into your objects (if the option is not already there to turn of the hotspots.

In the object you want to call you have to add a boolean parameter to "Show 2D hotspots".
In this object you set this 'ON' by default.
In the 2D script you must then add an if/then control to each hotspot.
i.e.
if show_2d_hs = 1 then
HOTSPOT2 0,0
HOTSPOT2 1,0
HOTSPOT2 2,0
HOTSPOT2 3,0
.....
endif


Now when you CALL this object you add to the PARAMETERS list of the CALL that this Boolean value is 0 (zero).
There by turning off the 2D hotspots.
The same can be done for the 3D hotspots if you want.


Of course if your Called object already has control over the hotspot visibility (some objects do) then you just need to add the correct parameter to the CALL statement.

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Learn and get certified!