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

How to control visibility and print-ability in 2D script?

Palawat
Advocate
Hi, everyone.

I'm working on a label, and want to create lines and text that work as guidelines for user. I'm wondering if it's possible to create lines and text in 2d script (not the 2D Symbol tab) that only visible when user click on the label, like the way hotspot behave, and make them non-printable.

Could anyone point me the direction? Any suggestion is appreciated.
Archicad 26, Windows 10, Corei7 3.4 GHz, 16 GB Ram.
https://www.indigofigs.com
https://www.facebook.com/indigofigs
2 REPLIES 2
Barry Kelly
Moderator
For the lines you could try HOTLINE2 - similar to HOTSPOT2 but will give you a snap-able line rather than just a hotspot.

For the text I don't know of any way to make it invisible unless selected.
You could make the guide text white as that will not print.
Or you could add a Boolean parameter to turn the text on or off.
I don't quite understand why you would want guide text or what it's use would be.
Just a hotspot at the anchor point for the text is all you would need for position.

Or you could have a text parameter in your label that would allow you to type in what ever text you want.

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
Palawat
Advocate
Thank you, Barry.

I'm working on a label for wall. It's at the point that it's working just fine if the wall was actually created by the Wall Tool. Then it hit me, there are many tools user can create wall with, ie. Morph and Shell. So I have created hotspots to define length, angle (wall_direction), radius and sweep angle (for curve wall) and it could be confusing which one is which.

Filling in the Name for Variable in Parameters page can gives feedback to user but only when hotspot is clicked. That's why I'm looking for the way to label hotspots with somekind of text2 to let user know which hotspot is which without having to click on them.

hotline2 doesn't visible to human eyes. For it to act like a visual aid for user while defining wall's length/direction, it should be something visible.

It'd be nice if both text/line can be visible only when the label is clicked, to avoid cluttering while working on something else, and also be there to let user knows which hotspot will define wall's radius and such.

Hope this clarify things a bit
Archicad 26, Windows 10, Corei7 3.4 GHz, 16 GB Ram.
https://www.indigofigs.com
https://www.facebook.com/indigofigs