<?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 Run part of script on placement only in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Run-part-of-script-on-placement-only/m-p/131640#M13092</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi all,&lt;BR /&gt;
&lt;BR /&gt;
As the subject says, I'm looking for a way to have part of the script run only when the object is placed.  If it is edited, moved, rotated etc that section should not run again.  I thought I saw something like this a long time ago in regards to a rock object that generated a random shape and some wanted it to only generate the shape when first placed.  I can't remember the outcome tho.&lt;BR /&gt;
&lt;BR /&gt;
The object I'm creating is a label. I want it to rotate to the view orientation so that when placed it appears horizontal.  However, from there it needs to  be able to be rotated and stay on that angle.  I could make it so that if it has a rotation value it doesn't run the view orientation rotation.  But that would mean if it is left horizontal it will rotate with the view orientation.  Not the end of the world but it would be nice to have it consistent across the board.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance for any suggestions.&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 04 Feb 2014 00:44:14 GMT</pubDate>
    <dc:creator>Lachlan Green</dc:creator>
    <dc:date>2014-02-04T00:44:14Z</dc:date>
    <item>
      <title>Run part of script on placement only</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Run-part-of-script-on-placement-only/m-p/131640#M13092</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi all,&lt;BR /&gt;
&lt;BR /&gt;
As the subject says, I'm looking for a way to have part of the script run only when the object is placed.  If it is edited, moved, rotated etc that section should not run again.  I thought I saw something like this a long time ago in regards to a rock object that generated a random shape and some wanted it to only generate the shape when first placed.  I can't remember the outcome tho.&lt;BR /&gt;
&lt;BR /&gt;
The object I'm creating is a label. I want it to rotate to the view orientation so that when placed it appears horizontal.  However, from there it needs to  be able to be rotated and stay on that angle.  I could make it so that if it has a rotation value it doesn't run the view orientation rotation.  But that would mean if it is left horizontal it will rotate with the view orientation.  Not the end of the world but it would be nice to have it consistent across the board.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance for any suggestions.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Feb 2014 00:44:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Run-part-of-script-on-placement-only/m-p/131640#M13092</guid>
      <dc:creator>Lachlan Green</dc:creator>
      <dc:date>2014-02-04T00:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Run part of script on placement only</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Run-part-of-script-on-placement-only/m-p/131641#M13093</link>
      <description>Try glob_intquid. When the object is placed, it gets glob_intquid. When placing the object, it has no glob_intquid.&lt;BR /&gt;
for example: if glob_intquid#"" then  blabla...</description>
      <pubDate>Sat, 08 Mar 2014 19:27:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Run-part-of-script-on-placement-only/m-p/131641#M13093</guid>
      <dc:creator>Pertti Paasky</dc:creator>
      <dc:date>2014-03-08T19:27:10Z</dc:date>
    </item>
  </channel>
</rss>

