News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Hyperlinks and block attributes

Started by pjhunter, September 06, 2013, 11:33:13 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

pjhunter

Version: TC20.1 Deluxe.  I have a block with two attributes and a hyperlink.  Is it possible to have the values of the attributes suffixed to the hyperlink?  Specifically I have a block "Tree" with attributes "ROW" and "COL".  I would like a hyperlink to look something like this:  http://mysite.com/TreeInfo.aspx?ROW=xx,COL=yy  where the xx and yy are filled in appropriately by the inserted block attributes.

I suppose another option would be to have the x and y coordinates appended to the hyperlink, if that would be any easier.

Thank you.

nikkipollard

Not sure I understand what you are asking.
In the platinum version you can link attributes to a database and change attributes via the database palette.
Entity marks are available in platinum
As far as I know with deluxe all you can do is extract data.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

pjhunter

#2
I meant if there was something like Marco substitution in which the value of an existing attribute could be substituted in the hyperlink.  For example, suppose there were 2 attributes named ROW and COL attached to a block object and I wanted to pass them via the hyperlink to a web page.  I was looking for syntax to define the hyperlink something like
   
http://mysite.com/treeinfo.aspx?row=%ROW%,col=%COL%

Where TurboCAD would substitute the current value of the block attribute ROW into %ROW% and the block attribute COL into %COL% when the hyperlink was clicked.

Does this make sense now?
Thanks.

John R

It would help if you could attach the TCW file in question to your post (click on "Attachment and other options). Your links don't bring up anything except "Page Not Found - 404 Error Page".
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

pjhunter

Sorry, that was just a fictitious link as an example.  I just need to know if TC 20.1 Deluxe can do the kind of macro substitution into hyperlinks that I described previously.  The application here is that I have an orchard plot in TC.  Each of nearly 10000 trees are represented by blocks comprised of a circle and various static attributes, including an integer row and col.  Each tree will have a hyperlink that will go to a web-page that will take the tree identification (ROW, and COL) and look the tree up in a database and display historical data about production, health, age, etc.

This is all under development, which is why I used a fictitious site as my example.
...pjh

nikkipollard

Macros are only available in the pro versions.
I think that you would probably need the more advanced  tools available in the pro versions to achieve what you want.
If I were you I would contact support and see if there is a way to do this.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

pjhunter

Thanks.  That's what I needed to know.