<?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: Using &amp;lt;LAYOUTID&amp;gt; as a string in object in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78296#M31569</link>
    <description>Well actually now none of it works.  With a project index, I can't add a parameters from seleted objects like you can in schedules.  In schedules, it won't scan Layouts for objects.  POS!</description>
    <pubDate>Wed, 03 Aug 2011 16:05:57 GMT</pubDate>
    <dc:creator>jp</dc:creator>
    <dc:date>2011-08-03T16:05:57Z</dc:date>
    <item>
      <title>Using &lt;LAYOUTID&gt; as a string in object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78291#M31564</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I am trying to write a gdl object that detects the ID of the layout it is placed on and then breaks the resulting ID into component strings. e.g.  If the ID of layout is A123.  I want to break it down into separate strings of "A", "1","2","3".  The code I have written works fine with either a global ID, or a regular text string("A123"), but if I set a variable equal to &amp;lt;LAYOUTID&amp;gt; and try to break it down, it doesn't work the same.  If I look at the full text of that variable with a text2 output, I see "A123."  However, if I use the SPLIT command, or STRSUB command to 'break it down' the way I do with the regular text variable,  it breaks out as "&amp;lt;","L","A","Y" instead of "A","1","2","3"  Why?&lt;BR /&gt;
&lt;BR /&gt;
Does anyone know how I can use the layout ID to get the results I want?  Or, is there another way to do this that I haven't thought of.  I can post the object, but it's still rough.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Jan 2007 03:43:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78291#M31564</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-01-29T03:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using &lt;LAYOUTID&gt; as a string in object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78292#M31565</link>
      <description>Sorry, but GDL doesn't have the ability to actually get the value of the project info, so your object cannot process the value of information in it.&lt;BR /&gt;
&lt;BR /&gt;
It's been a wish list item ever since AC10 came out and we could place objects on layouts.</description>
      <pubDate>Mon, 29 Jan 2007 06:57:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78292#M31565</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2007-01-29T06:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using &lt;LAYOUTID&gt; as a string in object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78293#M31566</link>
      <description>It will not really help, but some layout informations are available if you generate optionial parameters in the parameter list. E.g. &lt;A href="http://www.selfgdl.com/9_diverse/globals/TITLE/kompendium.php?glob=AC_DrawingGUID" target="_blank"&gt;AC_DrawingGUID&lt;/A&gt;.</description>
      <pubDate>Mon, 29 Jan 2007 10:19:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78293#M31566</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2007-01-29T10:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using &lt;LAYOUTID&gt; as a string in object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78294#M31567</link>
      <description>Try this.&lt;BR /&gt;
&lt;BR /&gt;
nome2 = "A.02.1"&lt;BR /&gt;
ii = REQUEST ("HomeDB_info", "", homeDBIntId, homeDBUserId, homeDBName, homeContext)&lt;BR /&gt;
stringa = "&amp;lt;LAYOUTID&amp;gt;"&lt;BR /&gt;
TEXT2 0,0, stringa&lt;BR /&gt;
&lt;BR /&gt;
IF GLOB_CONTEXT = 8 THEN &lt;BR /&gt;
	IF homeDBUserId = NOME2 THEN TEXT2 0,.01,"I'm happy"&lt;BR /&gt;
	n = SPLIT (homeDBUserId, "A. %n ",aaaa, bbbb)&lt;BR /&gt;
	TEXT2 0,-.01,aaaa&lt;BR /&gt;
	TEXT2 0,-.02,bbbb&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
Put this code/object onto Layout.&lt;BR /&gt;
If Layout's UserID = A.02.1 ..... You will be happy &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
CU mirco</description>
      <pubDate>Wed, 31 Jan 2007 21:25:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78294#M31567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-01-31T21:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using &lt;LAYOUTID&gt; as a string in object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78295#M31568</link>
      <description>Brilliant!  Why can't the GDL user guide actually explain how most things work.  They never show a very basic example so you can figure out the proper syntax and usage.  Posted a bit of your script in my object and voila!  Thank you very much.</description>
      <pubDate>Wed, 03 Aug 2011 12:29:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78295#M31568</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2011-08-03T12:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using &lt;LAYOUTID&gt; as a string in object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78296#M31569</link>
      <description>Well actually now none of it works.  With a project index, I can't add a parameters from seleted objects like you can in schedules.  In schedules, it won't scan Layouts for objects.  POS!</description>
      <pubDate>Wed, 03 Aug 2011 16:05:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78296#M31569</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2011-08-03T16:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using &lt;LAYOUTID&gt; as a string in object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78297#M31570</link>
      <description>I guess I'm running into the same thing...&lt;BR /&gt;
&lt;BR /&gt;
I've been trying to break the TITLE of a DRAWING into Main and SubTitles separated by a special character (like "/")...&lt;BR /&gt;
&lt;BR /&gt;
My syntax is correct, but it's not splitting the one title into two..</description>
      <pubDate>Thu, 04 Aug 2011 04:55:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78297#M31570</guid>
      <dc:creator>vfrontiers</dc:creator>
      <dc:date>2011-08-04T04:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using &lt;LAYOUTID&gt; as a string in object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78298#M31571</link>
      <description>Since I've asked this question several times in other places and received no answer.. maybe I'll ask it here...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Is it not possible to get and display BOTH the LAYOUT ID and the VIEW ID of a drawing placed on a layout?&lt;BR /&gt;
&lt;BR /&gt;
I want to keep my VIEW ID's for details as they are in my MASTER DETAIL setup...  But when placed in a project I want to obviously show the ID by Layout in the bubble and have a small piece of text in the title that is the Master ID (ID by View ID)...</description>
      <pubDate>Thu, 04 Aug 2011 05:17:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Using-lt-LAYOUTID-gt-as-a-string-in-object/m-p/78298#M31571</guid>
      <dc:creator>vfrontiers</dc:creator>
      <dc:date>2011-08-04T05:17:30Z</dc:date>
    </item>
  </channel>
</rss>

