<?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: Help making basic editable Library Item in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168226#M25801</link>
    <description>yeha i tried that before i made this thread.&lt;BR /&gt;
i just need teh ## to read a 2 or 3 digit number..&lt;BR /&gt;
but adding a text feild to the parameters it just alows me to put a value in the objects setting box.. but i dunno how to getit to show up when i actually place the object.. iv got it placing some text but its about 30 meters away from where i place the object  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_lol.gif" style="display : inline;" /&gt;</description>
    <pubDate>Fri, 06 Feb 2009 01:24:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-02-06T01:24:13Z</dc:date>
    <item>
      <title>Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168219#M25794</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Im trying to make the below item a little better to use.&lt;BR /&gt;
&lt;BR /&gt;
Basically its just a 2d image with text as a library item.. where the red # is I have left blank and I just drop text over the top of it in my plans&lt;BR /&gt;
I was wondering if someone could show me or point me to a place I could see how I could add editable text to where the red # is so that I could edit it in objects setting box. And do away with the whole droping text boxes on top of it&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/13136i9A1253BF566A18F7/image-size/large?v=v2&amp;amp;px=999" border="0" alt="arrow.JPG" title="arrow.JPG" /&gt;</description>
      <pubDate>Thu, 05 Feb 2009 04:19:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168219#M25794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-05T04:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168220#M25795</link>
      <description>A simple object like this is a great way to get your feet wet with GDL. For starters, you might like the "Introduction to Object Making" by David Nicholson Cole. That - and his "GDL Cookbook 4" can be downloaded from &lt;A href="http://www.archicad.ca/?p=84" target="_blank"&gt;ArchiCad East&lt;/A&gt;.</description>
      <pubDate>Thu, 05 Feb 2009 06:41:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168220#M25795</guid>
      <dc:creator>vistasp</dc:creator>
      <dc:date>2009-02-05T06:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168221#M25796</link>
      <description>What are the variables in the "##" text?  &lt;BR /&gt;
- You want it to be RED, as shown, or same color (and size and font) of the other text? &lt;BR /&gt;
- Has it a fixed length (i.e. 2 digit) or can be any text? &lt;BR /&gt;
What are your knowledge of GDL? did you script the basis object, or you just saved some plan element "as GDL"? &lt;BR /&gt;
 &lt;BR /&gt;
Strings in GDL can be combined simply with the "+" operator. If you create in your library part a text parameter called "texty", for example: &lt;BR /&gt;
 
&lt;PRE&gt;ystring = 'Y-' + texty + 'kN'
TEXT2 0,0, ystring&lt;/PRE&gt; &lt;BR /&gt;
&lt;BR /&gt;
If the parameter has a value of "00" you will get &lt;B&gt;Y-00kN&lt;/B&gt;&lt;BR /&gt;
 &lt;BR /&gt;
Hope this can be a good starting point for you.</description>
      <pubDate>Thu, 05 Feb 2009 09:05:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168221#M25796</guid>
      <dc:creator>rocorona</dc:creator>
      <dc:date>2009-02-05T09:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168222#M25797</link>
      <description>GeNOS:&lt;BR /&gt;
&lt;BR /&gt;
You can also look at some of he simpler 2D symbol objects in the ArchiCAD Library (for instance, in the US Library "Revision Indicator_NCS 12") to see an example of how this can be done.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Thu, 05 Feb 2009 14:59:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168222#M25797</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2009-02-05T14:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168223#M25798</link>
      <description>&lt;BLOCKQUOTE&gt;vistasp wrote:&lt;BR /&gt;A simple object like this is a great way to get your feet wet with GDL. For starters, you might like the "Introduction to Object Making" by David Nicholson Cole. That - and his "GDL Cookbook 4" can be downloaded from &lt;A href="http://www.archicad.ca/?p=84" target="_blank"&gt;ArchiCad East&lt;/A&gt;.&lt;/BLOCKQUOTE&gt;

cheers for the link.. ill have a read through it &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;rocorona wrote:&lt;BR /&gt;What are the variables in the "##" text?  &lt;BR /&gt;
- You want it to be RED, as shown, or same color (and size and font) of the other text? &lt;BR /&gt;
- Has it a fixed length (i.e. 2 digit) or can be any text? &lt;BR /&gt;
What are your knowledge of GDL? did you script the basis object, or you just saved some plan element "as GDL"? &lt;BR /&gt;
 &lt;BR /&gt;
Strings in GDL can be combined simply with the "+" operator. If you create in your library part a text parameter called "texty", for example: &lt;BR /&gt;
 
&lt;PRE&gt;ystring = 'Y-' + texty + 'kN'
TEXT2 0,0, ystring&lt;/PRE&gt; &lt;BR /&gt;
&lt;BR /&gt;
If the parameter has a value of "00" you will get &lt;B&gt;Y-00kN&lt;/B&gt;&lt;BR /&gt;
 &lt;BR /&gt;
Hope this can be a good starting point for you.&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
the red part just needs to be a 2 or 3 digit number. its just a saved as GDL item from AC.  &lt;BR /&gt;
&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;David wrote:&lt;BR /&gt;GeNOS:&lt;BR /&gt;
&lt;BR /&gt;
You can also look at some of he simpler 2D symbol objects in the ArchiCAD Library (for instance, in the US Library "Revision Indicator_NCS 12") to see an example of how this can be done.&lt;BR /&gt;
&lt;BR /&gt;
David&lt;/BLOCKQUOTE&gt;

i tryed looking at a few, but all the ones i found were editable 3d objects and couldnt really tell what was what.. ill have another look for a editable 2d item.</description>
      <pubDate>Fri, 06 Feb 2009 00:00:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168223#M25798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-06T00:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168224#M25799</link>
      <description>&lt;BLOCKQUOTE&gt;rocorona wrote:&lt;BR /&gt;What are the variables in the "##" text?  &lt;BR /&gt;
- You want it to be RED, as shown, or same color (and size and font) of the other text? &lt;BR /&gt;
- Has it a fixed length (i.e. 2 digit) or can be any text? &lt;BR /&gt;
What are your knowledge of GDL? did you script the basis object, or you just saved some plan element "as GDL"? &lt;BR /&gt;
 &lt;BR /&gt;
Strings in GDL can be combined simply with the "+" operator. If you create in your library part a text parameter called "texty", for example: &lt;BR /&gt;
 
&lt;PRE&gt;ystring = 'Y-' + texty + 'kN'
TEXT2 0,0, ystring&lt;/PRE&gt; &lt;BR /&gt;
&lt;BR /&gt;
If the parameter has a value of "00" you will get &lt;B&gt;Y-00kN&lt;/B&gt;&lt;BR /&gt;
 &lt;BR /&gt;
Hope this can be a good starting point for you.&lt;/BLOCKQUOTE&gt;

because i just saved it form AC as a GDL object it wouldnt know that the black text was actually text tho.. correcT?</description>
      <pubDate>Fri, 06 Feb 2009 00:12:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168224#M25799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-06T00:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168225#M25800</link>
      <description>&lt;BLOCKQUOTE&gt;GeNOS wrote:&lt;BR /&gt;because i just saved it form AC as a GDL object it wouldnt know that the black text was actually text tho.. correcT?&lt;/BLOCKQUOTE&gt;

No, AC would not treat it as normal text, as produced using the text tool.&lt;BR /&gt;
&lt;BR /&gt;
What do you need to do with the text? If you just needed to change the ## text simply add a new 'texty' parameter in the parameter list of the object. This will then be available to edit when you open the object dialog box.</description>
      <pubDate>Fri, 06 Feb 2009 00:41:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168225#M25800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-06T00:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168226#M25801</link>
      <description>yeha i tried that before i made this thread.&lt;BR /&gt;
i just need teh ## to read a 2 or 3 digit number..&lt;BR /&gt;
but adding a text feild to the parameters it just alows me to put a value in the objects setting box.. but i dunno how to getit to show up when i actually place the object.. iv got it placing some text but its about 30 meters away from where i place the object  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_lol.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 06 Feb 2009 01:24:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168226#M25801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-06T01:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168227#M25802</link>
      <description>There are probably a number of reasons why that could be happening. Did you move the 2d lines in ArchiCAD to the 0,0 point before saving as GDL? Have you put some add2 and rot2 commands to move the text to the right position? Have you previewed the part in the 2d symbol box?&lt;BR /&gt;
&lt;BR /&gt;
If all else fails, post the object up and I'm sure someone will point you in the right direction!</description>
      <pubDate>Fri, 06 Feb 2009 01:37:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168227#M25802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-06T01:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168228#M25803</link>
      <description>ah ok.. probably wasnt on 0,0 when i saved it.. ill fix that up and a few other things and post it up.. ill have a bit more of a read of that cook book thingo aswell 1st..</description>
      <pubDate>Fri, 06 Feb 2009 01:48:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168228#M25803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-06T01:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168229#M25804</link>
      <description>these what i have.. iv played for ages and dunno how to get the text in the right spot and or rotate it 90°&lt;BR /&gt;
&lt;BR /&gt;
also im guessing i need to remove the original text from the item?&lt;BR /&gt;
i noticed in the script it sees the orginal text there.. am i able to just get my net values to link in with them?&lt;BR /&gt;
i can get teh "texty" text feild in the right spot between the original text but i cant edit it&lt;BR /&gt;
&lt;BR /&gt;
edit....... i just tryed to attach it but wont let me.. how can i post the item up on the forum? &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 06 Feb 2009 05:44:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168229#M25804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-06T05:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168230#M25805</link>
      <description>&lt;BLOCKQUOTE&gt;GeNOS wrote:&lt;BR /&gt;
edit....... i just tryed to attach it but wont let me.. how can i post the item up on the forum? &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt;&lt;/BLOCKQUOTE&gt;

ZIP the object file.&lt;BR /&gt;
ZIP files are allowed if they are not to big - which it shouldn't be.&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 06 Feb 2009 06:51:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168230#M25805</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2009-02-06T06:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168231#M25806</link>
      <description>In the 2D script I am guessing there will be a line saying something like ..... TEXT2 0, 0, "X-   kn"&lt;BR /&gt;
and another for .....TEXT2 0, 0, "Y-   kn"&lt;BR /&gt;
&lt;BR /&gt;
The 0, 0 part may actually be co-ordinates for the text location.&lt;BR /&gt;
&lt;BR /&gt;
If you have created "Textx" and "Texty" parameters (as text parameters) then you can alter the above lines to .....&lt;BR /&gt;
&lt;BR /&gt;
TEXT2 0, 0, "X-" + Textx + "kn"&lt;BR /&gt;
&lt;BR /&gt;
and &lt;BR /&gt;
&lt;BR /&gt;
TEXT2 0, 0, "Y-" + Texty + "kn"&lt;BR /&gt;
&lt;BR /&gt;
Now as you change the text parameter the object should display the value.&lt;BR /&gt;
&lt;BR /&gt;
If you have set up the new parameters as numbers instead of text then the parameter will need to be converted to a text value before they can be linked together as above.&lt;BR /&gt;
Or you can just add a new text command for just the number if you can work out the location.&lt;BR /&gt;
&lt;BR /&gt;
It will be much easier to show you if you can post the object or copy and paste the 2D script.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 06 Feb 2009 07:08:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168231#M25806</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2009-02-06T07:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168232#M25807</link>
      <description>Here is a quick release of the object. The script is very tidy and you can really try to learn something reading it, and do changes to suit your needing.</description>
      <pubDate>Fri, 06 Feb 2009 13:34:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168232#M25807</guid>
      <dc:creator>rocorona</dc:creator>
      <dc:date>2009-02-06T13:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168233#M25808</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;
&lt;BR /&gt;
TEXT2 0, 0, "X-" + Textx + "kn"&lt;BR /&gt;
&lt;BR /&gt;
and &lt;BR /&gt;
&lt;BR /&gt;
TEXT2 0, 0, "Y-" + Texty + "kn"&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Barry.&lt;/BLOCKQUOTE&gt;

i tryed this but couldnt get it to edit the text. objiously somethign ive done wronge.. just couldnt work out what... ill post mine up</description>
      <pubDate>Mon, 09 Feb 2009 03:16:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168233#M25808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-09T03:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168234#M25809</link>
      <description>&lt;BLOCKQUOTE&gt;rocorona wrote:&lt;BR /&gt;Here is a quick release of the object. The script is very tidy and you can really try to learn something reading it, and do changes to suit your needing.&lt;/BLOCKQUOTE&gt;

thank you heaps for this  &lt;IMG src="http://www.performanceforums.com/forums/images/smilies/bowdown.gif" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
looking at it and at mine (even tho mine is messy as hell) i think i see when my problem was.. i had the TEXT 0,0 part in the wrong spot which was stoping it from editing the actual text, even tho when i placed the object it had the "text_x" in the spot where i wanted the edited text to go..&lt;BR /&gt;
&lt;BR /&gt;
thanks again, really appricate it.&lt;BR /&gt;
Gene</description>
      <pubDate>Mon, 09 Feb 2009 03:26:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168234#M25809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-09T03:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help making basic editable Library Item</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168235#M25810</link>
      <description>Obviously the text can only be edited in the Object parameters, not in the plan symbol itself.&lt;BR /&gt;
&lt;BR /&gt;
If X and Y values are, for example, real project coordinates, we can make them automatically updatable.</description>
      <pubDate>Mon, 09 Feb 2009 07:32:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-making-basic-editable-Library-Item/m-p/168235#M25810</guid>
      <dc:creator>rocorona</dc:creator>
      <dc:date>2009-02-09T07:32:46Z</dc:date>
    </item>
  </channel>
</rss>

