<?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: Timer function in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37019#M34932</link>
    <description>Timer in GDL &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_question.gif" style="display : inline;" /&gt;  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_eek.gif" style="display : inline;" /&gt;  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_rolleyes.gif" style="display : inline;" /&gt;  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt;</description>
    <pubDate>Thu, 02 Mar 2006 13:02:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-03-02T13:02:38Z</dc:date>
    <item>
      <title>Timer function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37018#M34931</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Is there a Timer function in GDL?&lt;BR /&gt;
&lt;BR /&gt;
Zak&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Mar 2006 12:53:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37018#M34931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-03-02T12:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37019#M34932</link>
      <description>Timer in GDL &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_question.gif" style="display : inline;" /&gt;  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_eek.gif" style="display : inline;" /&gt;  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_rolleyes.gif" style="display : inline;" /&gt;  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 02 Mar 2006 13:02:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37019#M34932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-03-02T13:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37020#M34933</link>
      <description>There is a Date &amp;amp; Time function that you could probably use to calculate times, but I don't know of any explicit timer function.</description>
      <pubDate>Thu, 02 Mar 2006 13:15:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37020#M34933</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2006-03-02T13:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37021#M34934</link>
      <description>Thanks Tom for your reply&lt;BR /&gt;
&lt;BR /&gt;
I didn’t mean Timer for date and time  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt; . I actually meant a Timer which allows me to execute a code say every 1min. but within GDL objects.&lt;BR /&gt;
&lt;BR /&gt;
Is such thing possible.&lt;BR /&gt;
&lt;BR /&gt;
Zaki</description>
      <pubDate>Thu, 02 Mar 2006 14:51:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37021#M34934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-03-02T14:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37022#M34935</link>
      <description>&lt;BLOCKQUOTE&gt;mallasi wrote:&lt;BR /&gt;Thanks Tom for your reply&lt;BR /&gt;
&lt;BR /&gt;
I didn’t mean Timer for date and time  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt; . I actually meant a Timer which allows me to execute a code say every 1min. but within GDL objects.&lt;BR /&gt;
&lt;BR /&gt;
Is such thing possible.&lt;BR /&gt;
&lt;BR /&gt;
Zaki&lt;/BLOCKQUOTE&gt;

that's what I meant too. &lt;BR /&gt;
&lt;BR /&gt;
Since there is no "timer" built in, you would have to make your own. I think the way to do this would be to run the Date/Time script and calculate the difference between a starting time and the current time.</description>
      <pubDate>Thu, 02 Mar 2006 15:03:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37022#M34935</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2006-03-02T15:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37023#M34936</link>
      <description>You can't start a script with a delay, which would cause something like an own thread. The scripts are executed in certain program circumstances (3D rebuilt e.a.) ehch you can't influence(, but which would be very enlightening to know, if GS could give us a specified list.) You can use the date/time addon to check for a certain time, but you can do nothing else than to wait, or to check for it. No "run at 1:30 15''pm" possible.&lt;BR /&gt;
&lt;BR /&gt;
What did you want to do?</description>
      <pubDate>Thu, 02 Mar 2006 15:21:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37023#M34936</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2006-03-02T15:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37024#M34937</link>
      <description>Hmmmm I thin it is going to be difficult.&lt;BR /&gt;
&lt;BR /&gt;
I am trying to create a basic animation for a box objects in the GDL 3D window.&lt;BR /&gt;
If I have to build my own timer in GDL, then can it be done this way: &lt;BR /&gt;
1 - Capture the current time (T1) of the user’s machine&lt;BR /&gt;
2 - Start loop to run every 10 seconds starting at T1.&lt;BR /&gt;
3 - On entering the loop for the first time Draw a box object for an example.&lt;BR /&gt;
4 – Continue loop. &lt;BR /&gt;
5- IF T1 = (T1 + 25 sec.) then rotate the box object 10 degrees.&lt;BR /&gt;
6- Then repeat (4) till the 3D window is shutdown.&lt;BR /&gt;
&lt;BR /&gt;
Any ideas!</description>
      <pubDate>Thu, 02 Mar 2006 15:49:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37024#M34937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-03-02T15:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37025#M34938</link>
      <description>Would I be considered mean if I recommended using a real animation program? Archicad is REALLY bad at object animation.&lt;BR /&gt;
&lt;BR /&gt;
You could do this with Cinema 4D in about 5 seconds.</description>
      <pubDate>Thu, 02 Mar 2006 15:53:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37025#M34938</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2006-03-02T15:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37026#M34939</link>
      <description>&lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt; Not at all. I just like to cook one meal in one oven instead of three &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;
In other words, in AC I do 2D, 3D, Viz, and camera flyby. It is just that bit to animate the objects in AC that requires me to transfer all my work to Artlantis or 3D MAX.&lt;BR /&gt;
&lt;BR /&gt;
At the end of the day, I only intend to make a basic animation not very complex. &lt;BR /&gt;
&lt;BR /&gt;
Thank u all for the help.</description>
      <pubDate>Thu, 02 Mar 2006 16:06:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37026#M34939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-03-02T16:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37027#M34940</link>
      <description>&lt;BLOCKQUOTE&gt;mallasi wrote:&lt;BR /&gt;&lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt; Not at all. I just like to cook one meal in one oven instead of three &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;
In other words, in AC I do 2D, 3D, Viz, and camera flyby. It is just that bit to animate the objects in AC that requires me to transfer all my work to Artlantis or 3D MAX.&lt;BR /&gt;
&lt;BR /&gt;
At the end of the day, I only intend to make a basic animation not very complex. &lt;BR /&gt;
&lt;BR /&gt;
Thank u all for the help.&lt;/BLOCKQUOTE&gt;

I run into the same problem. I can do all kinds of camera animation in Archicad (then composite the shots in Final Cut), but as soon as one thing needs to move, I break out the Exchange module and put it in C4D.</description>
      <pubDate>Thu, 02 Mar 2006 16:22:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37027#M34940</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2006-03-02T16:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37028#M34941</link>
      <description>&lt;BLOCKQUOTE&gt;mallasi wrote:&lt;BR /&gt;Hmmmm I thin it is going to be difficult.&lt;BR /&gt;
&lt;BR /&gt;
I am trying to create a basic animation for a box objects in the GDL 3D window.&lt;BR /&gt;
If I have to build my own timer in GDL, then can it be done this way: &lt;BR /&gt;
1 - Capture the current time (T1) of the user’s machine&lt;BR /&gt;
2 - Start loop to run every 10 seconds starting at T1.&lt;BR /&gt;
3 - On entering the loop for the first time Draw a box object for an example.&lt;BR /&gt;
4 – Continue loop. &lt;BR /&gt;
5- IF T1 = (T1 + 25 sec.) then rotate the box object 10 degrees.&lt;BR /&gt;
6- Then repeat (4) till the 3D window is shutdown.&lt;BR /&gt;
&lt;BR /&gt;
Any ideas!&lt;/BLOCKQUOTE&gt;

You can animate objects and have them move in fly-throughs based on frame number or camera location.&lt;BR /&gt;
But to my knowledge you can't animate an object and observe it in the 3D window.&lt;BR /&gt;
As mentioned there is no way for an object to watch the time, it can only compare times from the system clock when ever the object is activated (i.e. rebuild).&lt;BR /&gt;
I don't think this can be done directly with GDL but maybe with an API?&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 03 Mar 2006 02:11:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Timer-function/m-p/37028#M34941</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2006-03-03T02:11:47Z</dc:date>
    </item>
  </channel>
</rss>

