<?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 wall labelling: question for the experts in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/wall-labelling-question-for-the-experts/m-p/99666#M37165</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;I am trying to script a 2D label object that starts at the first point of the active line of a wall.&lt;BR /&gt;
To overide the ArchiCADS default labelling position (auto labelling) I can  return to the origin: &lt;BR /&gt;
&lt;B&gt;add2  -1*( label_position[1][1]), -1*(label_position[1][2])&lt;/B&gt; &lt;BR /&gt;
Then I need to move it to the end of the wall which should be found from the WALL_POSITION variable.&lt;BR /&gt;
The problem I am having is trying to make the 2D script read the variable. From a Print command I know that WALL_POSITION is 3 coordinates delimited by a spaces. To get x and y coordinates for the 2D script I have tried:&lt;BR /&gt;
&lt;B&gt;txtwall=SPLIT (WALL_POSITION,"%s %s %s" , valx, valy, valz)&lt;/B&gt; &lt;BR /&gt;
but get a "Bad indexed value reference" error message. I have not used the split command before so not sure this is the right way to seperate it out. I get the same error messages with the STR command.&lt;BR /&gt;
&lt;BR /&gt;
Any GDL experts care to advise? Is there a simpler way of moving to the end of a wall?&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 08 Jun 2005 23:08:09 GMT</pubDate>
    <dc:creator>Richard Swann</dc:creator>
    <dc:date>2005-06-08T23:08:09Z</dc:date>
    <item>
      <title>wall labelling: question for the experts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/wall-labelling-question-for-the-experts/m-p/99666#M37165</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;I am trying to script a 2D label object that starts at the first point of the active line of a wall.&lt;BR /&gt;
To overide the ArchiCADS default labelling position (auto labelling) I can  return to the origin: &lt;BR /&gt;
&lt;B&gt;add2  -1*( label_position[1][1]), -1*(label_position[1][2])&lt;/B&gt; &lt;BR /&gt;
Then I need to move it to the end of the wall which should be found from the WALL_POSITION variable.&lt;BR /&gt;
The problem I am having is trying to make the 2D script read the variable. From a Print command I know that WALL_POSITION is 3 coordinates delimited by a spaces. To get x and y coordinates for the 2D script I have tried:&lt;BR /&gt;
&lt;B&gt;txtwall=SPLIT (WALL_POSITION,"%s %s %s" , valx, valy, valz)&lt;/B&gt; &lt;BR /&gt;
but get a "Bad indexed value reference" error message. I have not used the split command before so not sure this is the right way to seperate it out. I get the same error messages with the STR command.&lt;BR /&gt;
&lt;BR /&gt;
Any GDL experts care to advise? Is there a simpler way of moving to the end of a wall?&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Jun 2005 23:08:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/wall-labelling-question-for-the-experts/m-p/99666#M37165</guid>
      <dc:creator>Richard Swann</dc:creator>
      <dc:date>2005-06-08T23:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: wall labelling: question for the experts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/wall-labelling-question-for-the-experts/m-p/99667#M37166</link>
      <description>I have not the time to check it out, so maybe the following is not right:&lt;BR /&gt;
&lt;BR /&gt;
If you PRINT an parameter, which is an array, all values of the whole array will be printed separated by spaces.&lt;BR /&gt;
&lt;BR /&gt;
WALL_POSITION is an array. Means you have three numeric values:&lt;BR /&gt;
WALL_POSITION[1], WALL_POSITION[2], WALL_POSITION[3]&lt;BR /&gt;
&lt;BR /&gt;
Does this help?</description>
      <pubDate>Thu, 09 Jun 2005 06:38:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/wall-labelling-question-for-the-experts/m-p/99667#M37166</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-06-09T06:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: wall labelling: question for the experts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/wall-labelling-question-for-the-experts/m-p/99668#M37167</link>
      <description>Thanks for that. Should have realised it was an array, so no need to break it up with split. All works fine!</description>
      <pubDate>Thu, 09 Jun 2005 07:16:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/wall-labelling-question-for-the-experts/m-p/99668#M37167</guid>
      <dc:creator>Richard Swann</dc:creator>
      <dc:date>2005-06-09T07:16:31Z</dc:date>
    </item>
  </channel>
</rss>

