<?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: Trouble Calling Macro...help in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Trouble-Calling-Macro-help/m-p/14730#M28895</link>
    <description>After struggling with this most of the night, I found that the problem was in passing my parameters to the macro.  Once I finally went to bed, I was laying there, and it dawned on me that there were some really good reasons to leave the script as a SUB instead of calling it as a MACRO anyways.&lt;BR /&gt;
&lt;BR /&gt;
- there is a parameter to specify the percentage of the shelves to fill, as a SUB in each object, I can specify different amounts for each object, creating a more realistic look.&lt;BR /&gt;
&lt;BR /&gt;
- This allows me to turn it on/off at the object level.  I really only need to have the books on for rendering, and this way I can turn them on for the objects in view instead of every single object in the project.  &lt;BR /&gt;
&lt;BR /&gt;
So after all that.... I'm back to just inserting it as a SUB.  &lt;BR /&gt;
&lt;BR /&gt;
Thanks anyways for the offer to help!!!&lt;BR /&gt;
 &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
    <pubDate>Thu, 24 Jan 2008 17:58:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-01-24T17:58:01Z</dc:date>
    <item>
      <title>Trouble Calling Macro...help</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Trouble-Calling-Macro-help/m-p/14728#M28893</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I am attempting to create a macro script that will fill bookshelves with books when a specific parameter is set. (This is for a bookstore, so I only want to fill the shelves when I need to for graphical representation).&lt;BR /&gt;
&lt;BR /&gt;
I have successfully inserted the script into the 3D script of a couple of my objects; however, when I try to call it as a macro, nothing happens.  My shelves remain empty, yet I get no error messages.&lt;BR /&gt;
&lt;BR /&gt;
I've tried saving the script as a macro object, and also as a gdl script.  Neither seems to work.  I really prefer to call it as a macro instead of having to insert this entire script into a few dozen different objects.&lt;BR /&gt;
&lt;BR /&gt;
I've searched through all the reference guides and tutorials... maybe I'm just missing something simple???  Any help is appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Currently using AC 11.&lt;BR /&gt;
Calling the script by  CALL "BookScript" PARAMETERS ALL&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Jan 2008 04:00:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Trouble-Calling-Macro-help/m-p/14728#M28893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-24T04:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble Calling Macro...help</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Trouble-Calling-Macro-help/m-p/14729#M28894</link>
      <description>Post the calling object and the macro in a ZIP file and I will take a look at it.</description>
      <pubDate>Thu, 24 Jan 2008 11:16:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Trouble-Calling-Macro-help/m-p/14729#M28894</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2008-01-24T11:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble Calling Macro...help</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Trouble-Calling-Macro-help/m-p/14730#M28895</link>
      <description>After struggling with this most of the night, I found that the problem was in passing my parameters to the macro.  Once I finally went to bed, I was laying there, and it dawned on me that there were some really good reasons to leave the script as a SUB instead of calling it as a MACRO anyways.&lt;BR /&gt;
&lt;BR /&gt;
- there is a parameter to specify the percentage of the shelves to fill, as a SUB in each object, I can specify different amounts for each object, creating a more realistic look.&lt;BR /&gt;
&lt;BR /&gt;
- This allows me to turn it on/off at the object level.  I really only need to have the books on for rendering, and this way I can turn them on for the objects in view instead of every single object in the project.  &lt;BR /&gt;
&lt;BR /&gt;
So after all that.... I'm back to just inserting it as a SUB.  &lt;BR /&gt;
&lt;BR /&gt;
Thanks anyways for the offer to help!!!&lt;BR /&gt;
 &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 24 Jan 2008 17:58:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Trouble-Calling-Macro-help/m-p/14730#M28895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-24T17:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble Calling Macro...help</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Trouble-Calling-Macro-help/m-p/14731#M28896</link>
      <description>OK. &lt;BR /&gt;
Glad it worked out.</description>
      <pubDate>Thu, 24 Jan 2008 18:47:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Trouble-Calling-Macro-help/m-p/14731#M28896</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2008-01-24T18:47:55Z</dc:date>
    </item>
  </channel>
</rss>

