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

Hyperlink for ArchiCAD objects?

Anonymous
Not applicable
I can't find a hyperlink property for ArchiCAD objects (other CAD applications like AutoCAD, Revit, Triforma, etc. have them). Does such a thing exist in ArchiCAD?

thanks in advance, Chuck
20 REPLIES 20

Karl Ottenstein
Moderator
csh wrote:
I can't find a hyperlink property for ArchiCAD objects (other CAD applications like AutoCAD, Revit, Triforma, etc. have them). Does such a thing exist in ArchiCAD?
No. There is no hyperlinking tech in GDL objects other than the special hyperlink in the Comment script that is accessed from the object settings dialog only. No hyperlinking from any model views.

I believe Kimon Onuma or someone else was implementing an add-on to create hyperlinking effects.

Karl
One of the forum moderators   •   AC 26 USA and earlier   •   MacOS 11.6.8, iMac Pro

Anonymous
Not applicable
Thanks for the quick reply. I've contacted ONUMA, Inc. about the hyperlink add-on. If I don't get a reply, I'll probably implement it myself unless anyone has any better ideas.

thanks, Chuck

Anonymous
Not applicable
Thanks to Akos for pointing out:

ACAPI_Database(APIDb_GetElementURLRefID, &elemHead, &elemURLRef);
ACAPI_Database(APIDb_SetElementURLRefID, &elemHead, &elemURLRef);

One solution leads to another question though:

In looking at the menu-related API, it doesn't look like you can modify the right-click context menu, right? It would be nice to add "Follow Hyperlink..." to this menu for an element that has a hyperlink...

Anonymous
Not applicable
Karl wrote:
No. There is no hyperlinking tech in GDL objects other than the special hyperlink in the Comment script that is accessed from the object settings dialog only. No hyperlinking from any model views.
Does the situation with hyperlinking remains the same for the time being?

Holger Kreienbrink
Graphisoft
Graphisoft
You can place one Hyperlink in the comment script.

#http://.......

Then the button with te earth changes from the default webpage to the user defined page. But you can just create one link
Holger Kreienbrink
Leitung Produktmanagement D/A/CH
Munich, Germany

Anonymous
Not applicable
Holger wrote:
You can place one Hyperlink in the comment script.
Sorry, Holder, I cannot find place in AC12 where this comment script is situated . Could you point out the menu entry?

rocorona
Contributor
I cannot find place in AC12 where this comment script is situated
It is the Comment Script of the GDL objects. You can access it when editing Library parts.
_________________

--Roberto Corona--
www.archiradar.com
AC18 - ITA full on Win10
_________________
_________________

Anonymous
Not applicable
Ok, I select some object, open it in the library object editor, click on the Comment button and fill the right text area with some URL.
But I cannot see anywhere the Earth icon to follow this URL! Please, help!

Vladimir:

In the Object dialog box, the Comment option of the Preview must be selected for the Comment and www link to appear (most users never select this option).

David
Object-www-link.gif
David Maudlin / Architect

www.davidmaudlin.com

Digital Architecture

AC26 USA • iMac 27" 4.0GHz Quad-core i7 | 24 gb ram • MacBook Pro 2.8GHz | 16 gb ram • OSX10.15.7

Anonymous
Not applicable
Hi Vladimir

When you open the object in the editor you must put the # in front of the URL in the comment script eg #http://.....

Otherwise this will put a URL button in the interface script:

UI_BUTTON UI_LINK, "Visit Website", 200,180, 100,20, 0,
"http://www.graphisoft.com"

Anonymous
Not applicable
csh wrote:
One solution leads to another question though:

In looking at the menu-related API, it doesn't look like you can modify the right-click context menu, right? It would be nice to add "Follow Hyperlink..." to this menu for an element that has a hyperlink...
I'm quite certain the right-click web link WAS there a couple of versions
ago...possibly AC10 or AC9. Now obsolete for some odd reason.

It should come back soonest and be scriptable and not static.

Thanks GS, looking forward to it!

Anonymous
Not applicable
Hello,

Checked and it is ArchiCAD 9 that has the right-click www-link for objects.

Anonymous
Not applicable
Juha wrote:
Checked and it is ArchiCAD 9 that has the right-click www-link for objects.
Yes i agree, they should definitely bring this feature back!

Anonymous
Not applicable
In the Interface Script you can use hyperlink too.

UI_BUTTON UI_LINK, "Visit the website", 291,135, 100,20, 0,"http://www.masterscript.nl"

gdford
Expert
Has this feature been disabled in Ver 14? I can place the URL in the comment section proceeded with the # character and it displays correct next to the earth symbol....but nothing happens when I click it.
Gary Ford
Self Employed - Modeling, Estimating, Construction
Archicad 12-25
AMD Ryzen 9 5900X 12-Core Processor
3701 Mhz, 12 Core(s), 24 Logical Processor(s)
(RAM) 128 GB
NVIDIA RTX A2000

Barry Kelly
Moderator
gdford wrote:
Has this feature been disabled in Ver 14? I can place the URL in the comment section proceeded with the # character and it displays correct next to the earth symbol....but nothing happens when I click it.
Looks like it.
I just tried and nothing happens.
Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Anonymous
Not applicable
I have no problem to access the site the url is pointing to, but I have AC12. But, my problem is: When I press Preview from the Interface Script or I press the button when I'm using the GDL, I go to the site,
but AC12 crashes every time I click in AC.
This is a serious problem, naturally. Do someone have an idea?

Anonymous
Not applicable
Anne wrote:
I have no problem to access the site the url is pointing to, but I have AC12. But, my problem is: When I press Preview from the Interface Script or I press the button when I'm using the GDL, I go to the site,
but AC12 crashes every time I click in AC.
This is a serious problem, naturally. Do someone have an idea?
hmmm that sounds odd. is your AC12 up to date?

Anonymous
Not applicable
Probably not! I never install updates 🙂
But I "solved" the problem by just putting the link in as a text.
So then "people" can copy the address.

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!