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

Add hotspot to Imported Objects

JCCARLOS91
Enthusiast

Hi,

 

I understand that as a default when importing an object through interoperability, the hotpots genrated will be at the bounding box. 

 

Is there a way to add hotspots to the 2d view without recreating the object?

 

thank you

John Carlos
AC25 | iMac 2019
3 REPLIES 3
Barry Kelly
Moderator

I guess it depends on how the object was created.

Open the script of the object (Select object and CTRL+SHIFT+O).

If it has an actual script in the '2D script' window, then you will have to add hotspots with the HOTSPOT2 command.

If there is not script and it is using the drawing in the '2D symbol' window, then you can just add hotspots where you want then and save the object.

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Dear Barry,

 

Thanks for the response.

 

I was able to add hotspots in the 2d symbol window, but i still don't see the nodes in 2d plan. What am I doing wrong? 😅

John Carlos
AC25 | iMac 2019

Is there any script in the 2D script window?

If yes, then it will be using the script there to generate the 2D view, and not using the 2D symbol view (unless the script is just a ... FRAGMENT2 1, 0 ... command).

 

So if there is a proper 2D script, you will have to add HOTSPOT2 commands.

You will need to know the X & Y coordinates for each hotspot.

 

Or if the 2D symbol view is what you want, then you can comment out each line in the 2D script - add an exclamation mark ( ! ) in front of each line.

That might work or you might also need just one command ... FRAGMENT2 1, 0

 

Barry.

 

 

 

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11