<?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: Profiles in GDL: How can I get X corresponding to the maximum Y? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Profiles-in-GDL-How-can-I-get-X-corresponding-to-the-maximum-Y/m-p/653846#M7489</link>
    <description>&lt;P&gt;Is it possible to use the&amp;nbsp;&lt;EM&gt;Parameter Buffer&amp;nbsp;&lt;/EM&gt;with the&amp;nbsp;&lt;EM&gt;MIN&amp;nbsp;&lt;/EM&gt;and&amp;nbsp;&lt;EM&gt;MAX&lt;/EM&gt; operations? Though how to check the position in the buffer of the return to get the corrisponding other coordinate is questionable...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ps. Could you insert the&amp;nbsp;&lt;EM&gt;Parameter Buffer&lt;/EM&gt; values into an array, then cycle through the values i+2 till it matches, at which point your other coordinate would be i+1?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Mar 2025 02:10:09 GMT</pubDate>
    <dc:creator>Lingwisyer</dc:creator>
    <dc:date>2025-03-06T02:10:09Z</dc:date>
    <item>
      <title>Profiles in GDL: How can I get X corresponding to the maximum Y?</title>
      <link>https://community.graphisoft.com/t5/GDL/Profiles-in-GDL-How-can-I-get-X-corresponding-to-the-maximum-Y/m-p/653625#M7487</link>
      <description>&lt;P&gt;From this thread (why is it closed to new replies?) – '&lt;A href="https://community.graphisoft.com/t5/Libraries-objects/Profiles-in-GDL/td-p/295270" target="_self"&gt;Profiles in GDL&lt;/A&gt;' – I learnt that we can easily REQUEST the coordinates of profiles' bounding boxes: 'xmin', 'ymin', 'xmax' and 'ymax'.&lt;BR /&gt;&lt;BR /&gt;The question is: how can I get the 'x' corresponding to the point where 'y' has its greatest value, i.e., what's the x of ymax?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Mac Apple Silicon Sonoma&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2025 21:42:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Profiles-in-GDL-How-can-I-get-X-corresponding-to-the-maximum-Y/m-p/653625#M7487</guid>
      <dc:creator>Durval</dc:creator>
      <dc:date>2025-03-01T21:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Profiles in GDL: How can I get X corresponding to the maximum Y?</title>
      <link>https://community.graphisoft.com/t5/GDL/Profiles-in-GDL-How-can-I-get-X-corresponding-to-the-maximum-Y/m-p/653841#M7488</link>
      <description>&lt;P&gt;That thread is nearly 8 years old, and old inactive threads get locked automatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The min/max is only reporting the min/max of the overall profile in relation to the origin.&lt;/P&gt;
&lt;P&gt;It is not the actual co-ordinates for the points that are at the min/max.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not aware of any way to get the actual co-ordinates for the profile.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 02:25:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Profiles-in-GDL-How-can-I-get-X-corresponding-to-the-maximum-Y/m-p/653841#M7488</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2025-03-04T02:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Profiles in GDL: How can I get X corresponding to the maximum Y?</title>
      <link>https://community.graphisoft.com/t5/GDL/Profiles-in-GDL-How-can-I-get-X-corresponding-to-the-maximum-Y/m-p/653846#M7489</link>
      <description>&lt;P&gt;Is it possible to use the&amp;nbsp;&lt;EM&gt;Parameter Buffer&amp;nbsp;&lt;/EM&gt;with the&amp;nbsp;&lt;EM&gt;MIN&amp;nbsp;&lt;/EM&gt;and&amp;nbsp;&lt;EM&gt;MAX&lt;/EM&gt; operations? Though how to check the position in the buffer of the return to get the corrisponding other coordinate is questionable...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ps. Could you insert the&amp;nbsp;&lt;EM&gt;Parameter Buffer&lt;/EM&gt; values into an array, then cycle through the values i+2 till it matches, at which point your other coordinate would be i+1?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 02:10:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Profiles-in-GDL-How-can-I-get-X-corresponding-to-the-maximum-Y/m-p/653846#M7489</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2025-03-06T02:10:09Z</dc:date>
    </item>
  </channel>
</rss>

