<?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: Accessing Project Info Values in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153826#M21897</link>
    <description>It should also work with RICHTEXT which can be used in any objects 3D script.&lt;BR /&gt;
Barry.</description>
    <pubDate>Wed, 09 Dec 2009 02:21:24 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2009-12-09T02:21:24Z</dc:date>
    <item>
      <title>Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153816#M21887</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi,&lt;BR /&gt;
   I'm sure there must be a simple command that accesses the Project Info variables (Client, Project Name, Project Number, etc.) in GDL - can anyone please tell me how to do this?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Derek&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Dec 2009 16:07:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153816#M21887</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2009-12-07T16:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153817#M21888</link>
      <description>I do not believe that there is an interface to Project Info.  All of those fields are autotext, so you can generate text that picks up the values, but you cannot directly read the values.&lt;BR /&gt;
&lt;BR /&gt;
On the other hand, from the Project Info dialog, you can export that information as an XML file.  You could then read the XML file in a GDL object.  But, the export to XML would be a manual process...&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Mon, 07 Dec 2009 19:01:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153817#M21888</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2009-12-07T19:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153818#M21889</link>
      <description>Autotext does work in the 2D symbol. When you place an autotext in the 2D symbol and use the FRAGMENT2 command you will be able display that text. It will be less flexible though, in terms of font type and size (I guess).</description>
      <pubDate>Mon, 07 Dec 2009 19:46:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153818#M21889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-07T19:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153819#M21890</link>
      <description>You can access them for display only. I tried earlier to use them to populate a Title Block. However I found that you can only display them. IE I was able to populate the title block with information From the Project Info, but I was unable to copy the text to another variable, and I was unable to force the text to Capitals.  What are you trying to do with the Project Info?</description>
      <pubDate>Mon, 07 Dec 2009 23:49:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153819#M21890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-07T23:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153820#M21891</link>
      <description>We're using the Virtual Building Explorer quite a lot to show designs to clients. Our thinking is to create a 'site board' object for each VBE file that the user will start standing next to. It'll have our logo on it, and info about the project. They'll then be free to wander off around the model.&lt;BR /&gt;
&lt;BR /&gt;
I was hoping that, rather than getting people to re-enter the project info for the site board, I could just read whatever has been entered into the Project Info dialogue.&lt;BR /&gt;
&lt;BR /&gt;
So how would I do this? Haven't used autotext or FRAGMENT2 before...</description>
      <pubDate>Tue, 08 Dec 2009 09:18:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153820#M21891</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2009-12-08T09:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153821#M21892</link>
      <description>You can save the project info to .XML file, which in turn you can read out in GDL. Don't ask me how the latter part works though &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 08 Dec 2009 10:28:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153821#M21892</guid>
      <dc:creator>Erwin Edel</dc:creator>
      <dc:date>2009-12-08T10:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153822#M21893</link>
      <description>If I'm getting people to manually export an XML file, I may as well just get them to manually re-enter the info for the site board, in that case. That'll save messing around with XML.&lt;BR /&gt;
&lt;BR /&gt;
Thanks anyway!</description>
      <pubDate>Tue, 08 Dec 2009 10:42:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153822#M21893</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2009-12-08T10:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153823#M21894</link>
      <description>You can pull each field out of the Project Info using the autotext feature as previously described. But you don't need to mess with the Fragment2 command.&lt;BR /&gt;
&lt;BR /&gt;
In your Object, just type-in the autotext call of the desired PI field ("&amp;lt;PROJECTNAME&amp;gt;", "&amp;lt;CLIENT&amp;gt;", etc.) for the scripted text string. So you are basically hard-coding the text field to be the autotext value.</description>
      <pubDate>Tue, 08 Dec 2009 13:18:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153823#M21894</guid>
      <dc:creator>David Larrew</dc:creator>
      <dc:date>2009-12-08T13:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153824#M21895</link>
      <description>Glad you posted what you wanted to do ... the first post was a little vague, so I gave two answers.  (The XML stuff is for someone who wants their GDL object to behave differently based on the Project Info content.)&lt;BR /&gt;
&lt;BR /&gt;
David's autotext illustration is the idea for what you need.    It cannot be a FRAGMENT2 thing - which is part of a 2D symbolic representation, because you want your information displayed in VBE and VBE only displays 3D elements.  Hmmm...  I'm not sure if you can get autotext text to display directly by a GDL object in 3D?  Never tried.  Somebody?&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Tue, 08 Dec 2009 19:06:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153824#M21895</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2009-12-08T19:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153825#M21896</link>
      <description>Karl,&lt;BR /&gt;
&lt;BR /&gt;
I don't know why it wouldn't work with the "Text 3D" object. It should work with any string parameter field in any object (2D or 3D).&lt;BR /&gt;
&lt;BR /&gt;
I currently use this technique with an architectural seal object that I created some years back. Since the Project Info and autotext abilities were added to AC, I plugged-in a bunch of linked PI fields for different text parameters in my object. Works like a charm.</description>
      <pubDate>Tue, 08 Dec 2009 21:39:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153825#M21896</guid>
      <dc:creator>David Larrew</dc:creator>
      <dc:date>2009-12-08T21:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153826#M21897</link>
      <description>It should also work with RICHTEXT which can be used in any objects 3D script.&lt;BR /&gt;
Barry.</description>
      <pubDate>Wed, 09 Dec 2009 02:21:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153826#M21897</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2009-12-09T02:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153827#M21898</link>
      <description>Cool. Thanks David and Barry!&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Wed, 09 Dec 2009 04:40:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153827#M21898</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2009-12-09T04:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153828#M21899</link>
      <description>Thanks guys, but I'm not having much luck with it.&lt;BR /&gt;
&lt;BR /&gt;
Adding the line &lt;PRE&gt;"Client: " + &amp;lt;CLIENT&amp;gt; + "\n"&lt;/PRE&gt; into the Paragraph definition just gives me the error 'Error in Expression'. &lt;BR /&gt;
&lt;BR /&gt;
It doesn't seem to recognise &amp;lt;CLIENT&amp;gt;, for some reason.&lt;BR /&gt;
&lt;BR /&gt;
Any ideas what I'm doing wrong?</description>
      <pubDate>Wed, 09 Dec 2009 09:40:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153828#M21899</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2009-12-09T09:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153829#M21900</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I think you should use the autotext as any other string inside the paragraph.&lt;BR /&gt;
&lt;BR /&gt;
For example;&lt;BR /&gt;
&lt;BR /&gt;
myText= "Client: &amp;lt;CLIENT&amp;gt;\n"&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps.</description>
      <pubDate>Wed, 09 Dec 2009 10:32:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153829#M21900</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-09T10:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153830#M21901</link>
      <description>Unfortunately not - it displays   Client: &amp;lt;CLIENT&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
instead of referencing the Client value from Project Info....</description>
      <pubDate>Wed, 09 Dec 2009 10:46:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153830#M21901</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2009-12-09T10:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153831#M21902</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
You're right: the autotext seems to work in 2D but not in 3D &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_eek.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
This works in 2D:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;myText= "Client: &amp;lt;CLIENT&amp;gt;\n"
paragraph "ptxt10" 1, 0, 0, 0, 1
	myText
endparagraph
textblock "btxt10" 0, 7, 0, 1, 1, 1, "ptxt10"
richtext2 0, 0, "btxt10"
&lt;/PRE&gt;

&lt;BR /&gt;
This does not in 3D:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;myText= "Client: &amp;lt;CLIENT&amp;gt;\n"
paragraph "ptxt10" 1, 0, 0, 0, 1
	myText
endparagraph
textblock "btxt10" 0, 7, 0, 1, 1, 1, "ptxt10"
richtext 0,  0, 0.002, 0, "btxt10"
&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Dec 2009 11:10:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153831#M21902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-09T11:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153832#M21903</link>
      <description>&lt;BLOCKQUOTE&gt;Juha wrote:&lt;BR /&gt;
You're right: the autotext seems to work in 2D but not in 3D &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_eek.gif" style="display : inline;" /&gt;
&lt;/BLOCKQUOTE&gt;

Sorry.&lt;BR /&gt;
I knew it worked in 2D and I just assumed (incorrectly) it would also work in 3D.&lt;BR /&gt;
&lt;BR /&gt;
I should know by now to NEVER assume anything in Archicad.&lt;BR /&gt;
Always check first!&lt;BR /&gt;
&lt;BR /&gt;
So now we have the problem that the actual values for the project info fields can't be extracted.&lt;BR /&gt;
&lt;BR /&gt;
Unless the Project Info is manually saved as an XML file when ever there is a change.&lt;BR /&gt;
Or create your own Project Info object that can write a text file automatically when the parameters are updated.&lt;BR /&gt;
You may as well just create a 3D sign-board object and add the data if that is the only object that needs it though.&lt;BR /&gt;
&lt;BR /&gt;
There must be a way of getting the project info data without saving the XML file but only GS could tell us.&lt;BR /&gt;
Or maybe an API can access this data but that is beyond me at the moment.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 10 Dec 2009 01:53:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153832#M21903</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2009-12-10T01:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153833#M21904</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;Juha wrote:&lt;BR /&gt;
You're right: the autotext seems to work in 2D but not in 3D &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_eek.gif" style="display : inline;" /&gt;
&lt;/BLOCKQUOTE&gt;

Sorry.&lt;BR /&gt;
I knew it worked in 2D and I just assumed (incorrectly) it would also work in 3D.&lt;BR /&gt;
&lt;BR /&gt;
I should know by now to NEVER assume anything in Archicad.&lt;BR /&gt;
Always check first!&lt;BR /&gt;
&lt;BR /&gt;
So now we have the problem that the actual values for the project info fields can't be extracted.&lt;BR /&gt;
&lt;BR /&gt;
Unless the Project Info is manually saved as an XML file when ever there is a change.&lt;BR /&gt;
Or create your own Project Info object that can write a text file automatically when the parameters are updated.&lt;BR /&gt;
You may as well just create a 3D sign-board object and add the data if that is the only object that needs it though.&lt;BR /&gt;
&lt;BR /&gt;
There must be a way of getting the project info data without saving the XML file but only GS could tell us.&lt;BR /&gt;
Or maybe an API can access this data but that is beyond me at the moment.&lt;BR /&gt;
&lt;BR /&gt;
Barry.&lt;/BLOCKQUOTE&gt;

It just seems bizarre that the object can read the info for it's 2D display, but can't then pass it into the 3D display! I think getting the user to re-enter the project info is probably the easiest solution in this case...</description>
      <pubDate>Thu, 10 Dec 2009 09:19:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153833#M21904</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2009-12-10T09:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153834#M21905</link>
      <description>Unfortunately, autotext is not supported in 3D. Autotext is basically a substitution in the 2D text drawing.&lt;BR /&gt;
&lt;BR /&gt;
I recorded this as a wish for later versions. I don't know any workaround until then:(&lt;BR /&gt;
&lt;BR /&gt;
Regards,</description>
      <pubDate>Sat, 19 Dec 2009 17:05:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153834#M21905</guid>
      <dc:creator>ztaskai</dc:creator>
      <dc:date>2009-12-19T17:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Project Info Values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153835#M21906</link>
      <description>&lt;BLOCKQUOTE&gt;ztaskai wrote:&lt;BR /&gt;Unfortunately, autotext is not supported in 3D. Autotext is basically a substitution in the 2D text drawing.&lt;BR /&gt;
&lt;BR /&gt;
I recorded this as a wish for later versions. I don't know any workaround until then:(&lt;BR /&gt;

&lt;/BLOCKQUOTE&gt;

I'm a little over my head here but...&lt;BR /&gt;
&lt;BR /&gt;
Zsolt, does autotext not work even in the master script then?  If it does, a workaround could be to convert it to a string in the master script first.  &lt;BR /&gt;
&lt;BR /&gt;
If &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;that&lt;E&gt;&lt;/E&gt; is possible... &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_exclaim.gif" style="display : inline;" /&gt;</description>
      <pubDate>Sun, 20 Dec 2009 02:35:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Accessing-Project-Info-Values/m-p/153835#M21906</guid>
      <dc:creator>vistasp</dc:creator>
      <dc:date>2009-12-20T02:35:09Z</dc:date>
    </item>
  </channel>
</rss>

