Extract hyperlink in Gh - how to?

Question to Magic Man.

Is there a way to extract the hyperlink from Rhino block and read it in Grasshopper 1 (to pass it to another object)?

Test file attached.

LK UNI ADAPTER G20xG20.3dm (1.6 MB)

Did you manually put the link there or were you able to download the file with a link already there?

I was recently wondering about this Hyperlink attribute and why it isn’t saved as attribute user text.

Insert File Options - what’s the Hyperlink good for? - Rhino - McNeel Forum

It came with the model. I have no idea how the file was created and in what software. AutoCAD presumably.

1 Like

There is something strange going on. At first the url wasn’t populated, i clicked and it populated and showed up as expected. Now opening the file its populated but not showing up in gh.

@AndyPayne is looking into it.

1 Like

The URL that you’re looking for was saved on the block definition. So, you just have to deconstruct it like this.


BlockURL.gh (13.5 KB)

2 Likes

Thanks

It works this way too:

I have another question:

Out of three text entries, only one is exposed in Rhino

What other two are for? Is it for passing/storing information inside Gh only? Can you provide an example, please?

Is there some magic trick to save information to the Notes panel?

Notes…