Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

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

Simple Box with Text?

Anonymous
Not applicable
Trying to hack together a simple box with 2 editable digits in it.
I'm sure it will be obvious from attached images that I haven't a clue, but I'm trying anyway.
I created it at project zero.
I've opened the gdl guide listed in the help menu of 14 and have searched through it, but if it's obvious what I should be trying, I'm still missing it.
So it would be nice if someone could at least point me to a relevant page/example, I'd much appreciate it.
The box does not need to rotate, just have easy edibility of just two digits.

KeyNote-1.png
12 REPLIES 12
Anonymous
Not applicable
Second image
Anonymous
Not applicable
Third image
Karl Ottenstein
Moderator
The GDL parameter in your first screenshot is "KeyNotewTe_A" (which you can feel free to give a nicer name). The string you have entered "KeyNote Text" is just a user prompt string.

So, your code needs to use KeyNotewTe_A without quotes to retrieve the value of that parameter.

I think the depository has an object that does what you're looking for... will look...

Cheers,
Karl
AC 28 USA and earlier   •   macOS Sequoia 15.3, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
One of the forum moderators
Karl Ottenstein
Moderator
Karl wrote:
I think the depository has an object that does what you're looking for... will look...
Yes: James Murray's Shape Tag JM9, currently the last item in:
Depository > 01 General > Graphic Symbols

also on his blog here:
http://www.onland.info/archives/2005/08/shape_tag_jm9.php

and updated with a fill here:
http://www.onland.info/archives/2007/12/shape_tag_update.php

Cheers,
Karl
AC 28 USA and earlier   •   macOS Sequoia 15.3, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
One of the forum moderators
Anonymous
Not applicable
Hi Karl
How to set the parameter helped alot.
That got me 98 percent of the way there.
Thanks for the links, I only had older JM in my Jm stuff folder.
However, on goes the quest.
The first of "newer" object with your help shows the default settings.
The second show what I've been able to control.
I went back to gdl manual and under "rich text" but no go with what I've tried.
I've futzed with the script many ways (not shown) trying to get some further
control over font size so far with no luck.
Hint, or link to place I might read about that?
Thanks
lec
Anonymous
Not applicable
Second reworked script trying to get control over
font size.
KeyNote-22.png
Anonymous
Not applicable
Ok, pretty sure that I have to make a text font size parameter which I have shown below.
I've assumed it would have to got somewhat near the Keynotewte_A, but
I've tried before,after, with and with out commas and keep getting error
mesages.
If so, what's the correct syntax and location?
KeyNote-44.png
Erich
Booster
Lec,

Here is a text object I wrote awhile ago to come to grips with Paragraphs in AC. Perhaps it will help you too.
Erich

AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
Anonymous
Not applicable
Thanks for the reply Erich
And thank you for trying to help.
However I'm afraid that after trying to understand what specific part of your code should be added and where it is to be added for over an hour, it's
become apparent to me that I'm not getting it, (maybe in my next lifetime).
But thanks anyway.

EDITED: Well maybe I should try once again when I'm not so frustrated at it.
G.S. Why does a simple thing like this have to be so complicated?

Happy Holidays to you and yours.
And a prosperous new year!
Take care.
Be safe out there.
lec