<?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: Shceduling objects in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371530#M762</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/640"&gt;@runxel&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My bad I read it too fast, I hadn't thought of taking info from the bounding box.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2023 11:14:41 GMT</pubDate>
    <dc:creator>MetalFingerz</dc:creator>
    <dc:date>2023-02-24T11:14:41Z</dc:date>
    <item>
      <title>Scheduling objects</title>
      <link>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371428#M759</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I have created some panels that i need to schedule the length.&lt;/P&gt;
&lt;P&gt;The object is created by selecting two archicad profiles. one for profile and the second for the plan shape.&lt;/P&gt;
&lt;P&gt;The idea of scheduling is to read the length of bounding box and rewrite A or B parameter.&lt;/P&gt;
&lt;P&gt;Is it possible can anyone help? Thanks...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="01.jpg" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/34599iB821078C673FC10F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="01.jpg" alt="01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 16:15:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371428#M759</guid>
      <dc:creator>pjatelier</dc:creator>
      <dc:date>2023-05-23T16:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling objects</title>
      <link>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371439#M760</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/27968"&gt;@pjatelier&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;It is possible, you would need to put in the Main script something like :&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;A = Profile length&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;B = Plan shape length&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;And then in the Parameters script, you would need to add :&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;Parameters A = A&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;Parameters B = B&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;The A and B values should then reflect the dimensions you want.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not possible, see &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/640"&gt;@runxel&lt;/a&gt; 's reply&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 11:15:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371439#M760</guid>
      <dc:creator>MetalFingerz</dc:creator>
      <dc:date>2023-02-24T11:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Shceduling objects</title>
      <link>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371452#M761</link>
      <description>&lt;P&gt;It is actually &lt;STRONG&gt;&lt;EM&gt;not&lt;/EM&gt;&lt;/STRONG&gt; possible (!).&lt;/P&gt;
&lt;P&gt;The request of the bounding box of a profile from the profile manager is not permitted in the parameters script, so you can't do that.&lt;/P&gt;
&lt;P&gt;A stupid workaround I'm using is to show the bounding box in the UI, with two boxes below, that the user has to fill in manually. As I said, it's stupid.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 21:29:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371452#M761</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2023-02-23T21:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Shceduling objects</title>
      <link>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371530#M762</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/640"&gt;@runxel&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My bad I read it too fast, I hadn't thought of taking info from the bounding box.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 11:14:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371530#M762</guid>
      <dc:creator>MetalFingerz</dc:creator>
      <dc:date>2023-02-24T11:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Shceduling objects</title>
      <link>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371568#M763</link>
      <description>&lt;P&gt;Ok, but i dont agree on that&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but i have got it for very short time. I have created separate value L.&lt;/P&gt;
&lt;P&gt;Then when i run the script with debbuger with brakepoints L = the length of bounding box.&lt;/P&gt;
&lt;P&gt;Sadly when the script ended L is not defined ones again. I need the way how to save it in to the object. PARAMETRES does not work or may be i use it wrong....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think it is even possible to get geometry of the profile and put in to the 2d code. Have a look at the link&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gdl.graphisoft.com/gdl_other_docs/profile-general-usage-and-limitations" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://gdl.graphisoft.com/gdl_other_docs/profile-general-usage-and-limitations&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is the part form the code when i am getting the length of the bounding box....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;DIM profile_bounding_box_22[]



BREAKPOINT 1
profile_x_size_22 = 0.0
profile_y_size_22 = 0.0



BREAKPOINT 1
req_result_22 = REQUEST ("PROFILE_DEFAULT_BOUNDINGBOX", var_22, profile_bounding_box_22)
IF req_result_22 &amp;gt; 0 THEN
BREAKPOINT 1
profile_x_size_22 = profile_bounding_box_22[3] - profile_bounding_box_22[1]
profile_y_size_22 = profile_bounding_box_22[4] - profile_bounding_box_22[2]

ENDIF
PARAMETERS L = profile_x_size_22
BREAKPOINT 1&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 20:29:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371568#M763</guid>
      <dc:creator>pjatelier</dc:creator>
      <dc:date>2023-02-28T20:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Shceduling objects</title>
      <link>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371579#M764</link>
      <description>&lt;P&gt;Yeah, because &lt;STRONG&gt;&lt;EM&gt;it does not work&lt;/EM&gt;&lt;/STRONG&gt; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; If you do not believe me then just look in the manual.&lt;/P&gt;
&lt;P&gt;Of course you can request the BBox and then use it in the 2d script for whatever you want, but you can NOT use `parameters` on that bad boy.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2023 12:29:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371579#M764</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2023-02-25T12:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Shceduling objects</title>
      <link>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371818#M765</link>
      <description>&lt;P&gt;I don't know if this will help but never just say ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PARAMETERS L = profile_x_size_22&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should say ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;L = profile_x_size_22&amp;nbsp;&amp;nbsp; !!! this sets the value of the parameter for use in script&lt;/P&gt;
&lt;P&gt;PARAMETERS L = L&amp;nbsp;&amp;nbsp; !!! this set the value of the parameter in the parameter list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You actually need to set the value of the parameter to be used in the script as well as setting the value in the parameter list.&lt;/P&gt;
&lt;P&gt;I think that is because setting value in the parameter list will not have any affect until the next time the script is run.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 01:04:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371818#M765</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-03-01T01:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling objects</title>
      <link>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371826#M766</link>
      <description>&lt;P&gt;Has there ever been input into why the command is disabled in the&amp;nbsp;&lt;EM&gt;Parameter Script&lt;/EM&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 03:47:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371826#M766</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-03-01T03:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling objects</title>
      <link>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371830#M767</link>
      <description>&lt;P&gt;Many commands do not work in the parameter/master scripts.&lt;/P&gt;
&lt;P&gt;Form something like 'scale', I can (kind of) understand because it is the same object with the same parameter script in different views of the plan at different scales but at the same time.&lt;/P&gt;
&lt;P&gt;So the scale can only be determined in the 2D script when you actually see that object at that particular scale.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But something like a bounding box confuses me as this is just a size (distance) and that should be the same all of the time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 05:33:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371830#M767</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-03-01T05:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling objects</title>
      <link>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371890#M768</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/7331"&gt;@Barry Kelly&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;But something like a bounding box confuses me as this is just a size (distance) and that should be the same all of the time.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The reasoning behind this was to prevent the possibility of non-terminating loops. Like you depend on A and B but somehow make a loop where two values fight against eachother. At least this is how it was explained back then to me by GS.&lt;/P&gt;
&lt;P&gt;While I can understand this, I think it is the wrong way, or at least there could have been different ways to prevent that. Or in other words: What we would need is a special kind of parameter that can not be used for calculations inside the object, but is for scheduling only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This also makes me wonder if we will ever get the possibility of properties in relation to objects' parameters.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 15:59:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Scheduling-objects/m-p/371890#M768</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2023-03-01T15:59:14Z</dc:date>
    </item>
  </channel>
</rss>

