<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: List in GDL scripts in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2520#M42319</link>
    <description>i use this trick to make a gdl shadow text object&lt;BR /&gt;
....set style "ac_style_1"..!!! etc&lt;BR /&gt;
 i put a &lt;BR /&gt;
let Q=2000/glob_scale !!!!!!!! shadow scale displacement &lt;BR /&gt;
  PEN TXT1                            !!! shadow color&lt;BR /&gt;
  Text2 x,y,...                                        !!!  the back text =shadow&lt;BR /&gt;
Add2 -dim_txt/Q*h_txt,dim_txt/Q*h_txt      !!!shadow offset &lt;BR /&gt;
  PEN TXT2                             !!! front text color&lt;BR /&gt;
 Text2 x,y,...  !!!!! the front text&lt;BR /&gt;
&lt;BR /&gt;
and of course you can experiment another object and associate your own graphical aplhabet to fragment2&lt;BR /&gt;
and call 2 macro objects 2X16  fragments=32 characters :idea: you can use in gdl bitmaped (jpeg) characters</description>
    <pubDate>Mon, 17 Nov 2003 22:41:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-11-17T22:41:08Z</dc:date>
    <item>
      <title>List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2512#M42311</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;When I created a 2D object that show some text, I want my users can select a font that they like. So I add a variable which type is string. Then in 2D script I write the following code:&lt;BR /&gt;
&lt;BR /&gt;
DEFINE STYLE "WolfKing" fontname, fontsize, 5, 0&lt;BR /&gt;
&lt;BR /&gt;
I think everybody do it like what i do.&lt;BR /&gt;
But to users, it is troubled. They have to look through system fonts folder, remember the font name, then go back to ArchiCAD, type the font name.&lt;BR /&gt;
&lt;BR /&gt;
I want to make it easier. But how?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 16 Nov 2003 03:15:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2512#M42311</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-11-16T03:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2513#M42312</link>
      <description>You could use a values list to give a couple of basic options like "Arial" and "Times New Roman" (which should work on neary all European language computers) with a custom option to retain your existing function. Aside from using the API there is no way to get a pop-up list of the user's system fonts. &lt;BR /&gt;
&lt;BR /&gt;
For most Architects I know, font selection is a one time thing. So I set up the font selection for each client as either a default list or hard code it into the master script if they want a fixed standard (which is most common). Perhaps you could provide your users with an instruction about how to do this for themselves to set their own office standard (it's not a bug, it's a feature &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; ).</description>
      <pubDate>Sun, 16 Nov 2003 10:55:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2513#M42312</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-11-16T10:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2514#M42313</link>
      <description>I don't think so.&lt;BR /&gt;
&lt;BR /&gt;
Using a valued list is worse than an empty variable. Think carefully, if I write the following code in my object : &lt;BR /&gt;
&lt;BR /&gt;
VALUES 'FontName' 'Arial', 'Arial Black',....and etc.&lt;BR /&gt;
&lt;BR /&gt;
And somebody who delete his 'Arial' font (it is possible, we can not think anybody is as wise as us &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; ) and select 'Arial' from the valued list, what will happened?</description>
      <pubDate>Sun, 16 Nov 2003 13:23:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2514#M42313</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-11-16T13:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2515#M42314</link>
      <description>I tested. No error. It is strange &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt; .&lt;BR /&gt;
&lt;BR /&gt;
I think I have a great idea. Give me some time, I'll publish my achievement here.</description>
      <pubDate>Sun, 16 Nov 2003 13:28:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2515#M42314</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-11-16T13:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2516#M42315</link>
      <description>&lt;BLOCKQUOTE&gt;Wolf wrote:&lt;BR /&gt;
And somebody who delete his 'Arial' font (it is possible, we can not think anybody is as wise as us &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; ) and select 'Arial' from the valued list, what will happened?&lt;/BLOCKQUOTE&gt;

I have found it just substitutes the default font.&lt;BR /&gt;
Value list appear to be the way to go. Then the font families are controlled. After all you dont want Architects to express themselves too much!! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_lol.gif" style="display : inline;" /&gt;</description>
      <pubDate>Sun, 16 Nov 2003 21:35:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2516#M42315</guid>
      <dc:creator>Aussie John</dc:creator>
      <dc:date>2003-11-16T21:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2517#M42316</link>
      <description>&lt;BLOCKQUOTE&gt;Wolf wrote:&lt;BR /&gt;&lt;B&gt;&lt;FONT color="blue"&gt;I don't think so.&lt;BR /&gt;
&lt;BR /&gt;
Using a valued list is worse than an empty variable. Think carefully, if I write the following code in my object : &lt;BR /&gt;
&lt;BR /&gt;
VALUES 'FontName' 'Arial', 'Arial Black',....and etc.&lt;BR /&gt;
&lt;BR /&gt;
And somebody who delete his 'Arial' font (it is possible, we can not think anybody is as wise as us &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; ) and select 'Arial' from the valued list, what will happened?&lt;/FONT&gt;&lt;/B&gt;&lt;/BLOCKQUOTE&gt;

Do:&lt;BR /&gt;
VALUES 'FontName' 'Arial', 'Arial Black', 'whatever', 'whateverelse', &lt;B&gt;CUSTOM&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
Then they can type in their own if they need.  And as mentioned, if Arial isn't on their computer it will switch to some other default.</description>
      <pubDate>Mon, 17 Nov 2003 10:23:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2517#M42316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-11-17T10:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2518#M42317</link>
      <description>This font issue has been a "thorn in my side" since AC6.0. What GS needs to do is give us the ability to "REQUEST()" available fonts on the user's computer to populate a VALUES list.&lt;BR /&gt;
&lt;BR /&gt;
I think I'll add this to the Wishlist.</description>
      <pubDate>Mon, 17 Nov 2003 15:46:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2518#M42317</guid>
      <dc:creator>David Larrew</dc:creator>
      <dc:date>2003-11-17T15:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2519#M42318</link>
      <description>&lt;BLOCKQUOTE&gt;David wrote:&lt;BR /&gt;This font issue has been a "thorn in my side" since AC6.0. What GS needs to do is give us the ability to "REQUEST()" available fonts on the user's computer to populate a VALUES list.&lt;BR /&gt;
&lt;BR /&gt;
I think I'll add this to the Wishlist.&lt;/BLOCKQUOTE&gt;

Please do, as a new Topic.</description>
      <pubDate>Mon, 17 Nov 2003 15:52:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2519#M42318</guid>
      <dc:creator>Djordje</dc:creator>
      <dc:date>2003-11-17T15:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2520#M42319</link>
      <description>i use this trick to make a gdl shadow text object&lt;BR /&gt;
....set style "ac_style_1"..!!! etc&lt;BR /&gt;
 i put a &lt;BR /&gt;
let Q=2000/glob_scale !!!!!!!! shadow scale displacement &lt;BR /&gt;
  PEN TXT1                            !!! shadow color&lt;BR /&gt;
  Text2 x,y,...                                        !!!  the back text =shadow&lt;BR /&gt;
Add2 -dim_txt/Q*h_txt,dim_txt/Q*h_txt      !!!shadow offset &lt;BR /&gt;
  PEN TXT2                             !!! front text color&lt;BR /&gt;
 Text2 x,y,...  !!!!! the front text&lt;BR /&gt;
&lt;BR /&gt;
and of course you can experiment another object and associate your own graphical aplhabet to fragment2&lt;BR /&gt;
and call 2 macro objects 2X16  fragments=32 characters :idea: you can use in gdl bitmaped (jpeg) characters</description>
      <pubDate>Mon, 17 Nov 2003 22:41:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2520#M42319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-11-17T22:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2521#M42320</link>
      <description>What Wolf King is try to do is to create an Utility to retrieve a list of fonts that are installed in the system; And then INPUT the list into gdl object as VALUES lists so that we can select the fonts (drop down menu) in object parameter window.&lt;BR /&gt;
Would that be wonderful?</description>
      <pubDate>Tue, 18 Nov 2003 01:31:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2521#M42320</guid>
      <dc:creator>LiHigh</dc:creator>
      <dc:date>2003-11-18T01:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2522#M42321</link>
      <description>On the GDLTalk of yahoogroups was a link to this utility recently (for PC). Also I wrote an GDL extension for this purpose recently ( AC8, PC ).&lt;BR /&gt;
I wll try to attach it to this message.</description>
      <pubDate>Tue, 18 Nov 2003 16:27:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2522#M42321</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2003-11-18T16:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2523#M42322</link>
      <description>&lt;BLOCKQUOTE&gt;Oleg wrote:&lt;BR /&gt;On the GDLTalk of yahoogroups was a link to this utility recently (for PC). Also I wrote an GDL extension for this purpose recently ( AC8, PC ).&lt;BR /&gt;
I wll try to attach it to this message.&lt;/BLOCKQUOTE&gt;

How does work the gdx file ?</description>
      <pubDate>Tue, 18 Nov 2003 16:42:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2523#M42322</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-11-18T16:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2524#M42323</link>
      <description>&lt;BLOCKQUOTE&gt;Geoffroy wrote:&lt;BR /&gt;
How does work the gdx file ?&lt;/BLOCKQUOTE&gt;

This is GDL AddOn. Move it to AddOns folder of ArchiCAD. Then start ArchiCAD.&lt;BR /&gt;
Look the parameter script of the test object for some comments. Installed font names will available using OPEN,INPUT,CLOSE.</description>
      <pubDate>Tue, 18 Nov 2003 17:00:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2524#M42323</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2003-11-18T17:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2525#M42324</link>
      <description>Will it work in 8.1?&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Piotr Dobrowolski</description>
      <pubDate>Sat, 22 Nov 2003 15:40:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2525#M42324</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2003-11-22T15:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2526#M42325</link>
      <description>&lt;BLOCKQUOTE&gt;Piotr wrote:&lt;BR /&gt;Will it work in 8.1?
&lt;/BLOCKQUOTE&gt;

I dont know. I have no 8.1 and corresponding GDL API yet.&lt;BR /&gt;
&lt;BR /&gt;
Oleg.&lt;BR /&gt;
&lt;BR /&gt;
 ( 8.0R3  RUS )</description>
      <pubDate>Tue, 25 Nov 2003 17:12:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2526#M42325</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2003-11-25T17:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: List in GDL scripts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2527#M42326</link>
      <description>&lt;BR /&gt;
&lt;BR /&gt;
I dont know. I have no 8.1 and corresponding GDL API yet.&lt;BR /&gt;
&lt;BR /&gt;
Oleg.&lt;BR /&gt;
&lt;BR /&gt;
 ( 8.0R3  RUS )&lt;BR /&gt;
&lt;BR /&gt;
So I checked and it will not unfortunately.&lt;BR /&gt;
&lt;BR /&gt;
Piotr</description>
      <pubDate>Thu, 27 Nov 2003 19:52:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/List-in-GDL-scripts/m-p/2527#M42326</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2003-11-27T19:52:30Z</dc:date>
    </item>
  </channel>
</rss>

