<?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: Taking control over lamp in Bed Layout.gsm in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197718#M20207</link>
    <description>As David said, the problem is about the macro calls. Change the call of desk lamp macros: you need to paste c = c and g = g lines to them, like this: &lt;BR /&gt;

&lt;PRE&gt;	call "desk_lamp_04_m" parameters all stType	= stType,
								bCalledAsMacro	= 1,
								a				= lampDiameter,
								b				= lampDiameter,
								c				= c,
								g				= g,
								a2				= a2,
								zzyzx			= lampHeight,
								unIDStart		= 1000,
								stDetLevel3d	= stDetLevel3d&lt;/PRE&gt;

&lt;BR /&gt;
After fixed the macro calls you just release the hidden light parameters in bed layout object and it will work fine.&lt;BR /&gt;
&lt;BR /&gt;
I hope this fix will be shipped with the next library hotfix.</description>
    <pubDate>Thu, 09 Sep 2010 13:58:14 GMT</pubDate>
    <dc:creator>Gergely Feher</dc:creator>
    <dc:date>2010-09-09T13:58:14Z</dc:date>
    <item>
      <title>Taking control over lamp in Bed Layout.gsm</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197714#M20203</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;How can I take control over &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;night table lamp&lt;E&gt;&lt;/E&gt; light settings in standard &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;&lt;B&gt;Bed Layout.gsm&lt;/B&gt;&lt;E&gt;&lt;/E&gt; ?&lt;BR /&gt;
&lt;BR /&gt;
I'm rendering 156 interior scenes (marketing purpose) with &lt;B&gt;Maxwell Render&lt;/B&gt; using &lt;B&gt;Maxwell's Plugin&lt;/B&gt; and I cannot force thoes night table lamps to be switched off. &lt;BR /&gt;
It would be great if I could equip dozens night tables I have with lamps just by "one click" rather than placing all of them manually as separate gdl object (which can be swithed off, and its working in maxwell) on every night table.&lt;BR /&gt;
&lt;BR /&gt;
I've tried editing part of the script responsible for lamp settings(in Bed Layout.gsm), but even when I've turned everything "off"  and set up all light values to "0" (attached image) it still glowing as in the beginning. &lt;BR /&gt;
I must admit, I don't know much about gdl language, but with some sense of observation and comparision - I did my best &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;
{I also had some other problem/observation using Maxwell Plugin - imo maxwell does not fully support Light Intensity settings (this one with slider): setting its value to "1" gives same result as "50" or even "100"  &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;(if it's true - perhaps my post should go to "Presentation - Rendering and Multimedia"..)&lt;E&gt;&lt;/E&gt; or maybe I'm basically doing something wrong?..}&lt;BR /&gt;
&lt;BR /&gt;
Any ideas?&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/11682iE2C6395D73EBD367/image-size/large?v=v2&amp;amp;px=999" border="0" alt="mod.JPG" title="mod.JPG" /&gt;</description>
      <pubDate>Fri, 27 Aug 2010 08:06:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197714#M20203</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-27T08:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Taking control over lamp in Bed Layout.gsm</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197715#M20204</link>
      <description>Bartek:&lt;BR /&gt;
&lt;BR /&gt;
The problem is that the object is &lt;FONT color="blue"&gt;CALL&lt;/FONT&gt;ing the &lt;FONT color="red"&gt;desk_lamp_04_m&lt;/FONT&gt; object when the lamps are shown, these are LAMP objects that have their lights on by default, but the parameter for turning the light on &amp;amp; off (as well as the other Light parameters) was not added to the &lt;FONT color="blue"&gt;CALL&lt;/FONT&gt;ing statement (which is why these parameters are hidden for the bed object, as shown in your screen shot by the "X"s next to these parameters).&lt;BR /&gt;
&lt;BR /&gt;
You have a couple options:&lt;BR /&gt;
1. Do not show the lamps as part of this object, add them as their own objects so you have control over the light options (easiest).&lt;BR /&gt;
2. Add the relevant Light parameters to the object call (the lamps are called twice, at lines 36 and 61 of the 3D Script), then show these parameters in the object by clicking on the "X" next to the parameters (involves GDL scripting).&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Fri, 27 Aug 2010 11:40:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197715#M20204</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2010-08-27T11:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Taking control over lamp in Bed Layout.gsm</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197716#M20205</link>
      <description>David,&lt;BR /&gt;
thanks for quick reply. Unfortunetly I didn't had time last couple of days but, I'm sure I'll try method involving GDL scripting, since I know where to start looking for my solution (I'd rather avoid placing manually more than 800 lamps &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;)</description>
      <pubDate>Tue, 31 Aug 2010 07:51:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197716#M20205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-31T07:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Taking control over lamp in Bed Layout.gsm</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197717#M20206</link>
      <description>Another option would be to just save or publish a 'bed layout module' with the bed, side tables, and whatever lamps you like, and place that into the floor plan (which you can then multiply, copy paste, rotate and mirror, as needed). &lt;BR /&gt;
&lt;BR /&gt;
That would have the advantage of not needing any GDL and tampering with standard libraries, and also lets you to put the lamp in a separate layer.</description>
      <pubDate>Sun, 05 Sep 2010 02:39:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197717#M20206</guid>
      <dc:creator>Ignacio Azpiazu</dc:creator>
      <dc:date>2010-09-05T02:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Taking control over lamp in Bed Layout.gsm</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197718#M20207</link>
      <description>As David said, the problem is about the macro calls. Change the call of desk lamp macros: you need to paste c = c and g = g lines to them, like this: &lt;BR /&gt;

&lt;PRE&gt;	call "desk_lamp_04_m" parameters all stType	= stType,
								bCalledAsMacro	= 1,
								a				= lampDiameter,
								b				= lampDiameter,
								c				= c,
								g				= g,
								a2				= a2,
								zzyzx			= lampHeight,
								unIDStart		= 1000,
								stDetLevel3d	= stDetLevel3d&lt;/PRE&gt;

&lt;BR /&gt;
After fixed the macro calls you just release the hidden light parameters in bed layout object and it will work fine.&lt;BR /&gt;
&lt;BR /&gt;
I hope this fix will be shipped with the next library hotfix.</description>
      <pubDate>Thu, 09 Sep 2010 13:58:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197718#M20207</guid>
      <dc:creator>Gergely Feher</dc:creator>
      <dc:date>2010-09-09T13:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Taking control over lamp in Bed Layout.gsm</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197719#M20208</link>
      <description>&lt;BLOCKQUOTE&gt;Ignacio wrote:&lt;BR /&gt;Another option would be to just save or publish a 'bed layout module' with the bed, side tables, and whatever lamps you like, and place that into the floor plan (which you can then multiply, copy paste, rotate and mirror, as needed). &lt;BR /&gt;
&lt;BR /&gt;
That would have the advantage of not needing any GDL and tampering with standard libraries, and also lets you to put the lamp in a separate layer.&lt;/BLOCKQUOTE&gt;

yes, that sounds like the easiest way:)</description>
      <pubDate>Tue, 21 Sep 2010 14:20:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197719#M20208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-21T14:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Taking control over lamp in Bed Layout.gsm</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197720#M20209</link>
      <description>luckly for my, we had trainee in our office for couple of days when I was on my holidays... so when I came back almost everything was done &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
but despite that I will try method mentioned by Gergely Feher  (the easiest way is not always the best way ;P) &lt;BR /&gt;
&lt;BR /&gt;
thank you all for your help!</description>
      <pubDate>Tue, 21 Sep 2010 14:49:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197720#M20209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-21T14:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Taking control over lamp in Bed Layout.gsm</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197721#M20210</link>
      <description>&lt;BLOCKQUOTE&gt;Gergely wrote:&lt;BR /&gt;As David said, the problem is about the macro calls. Change the call of desk lamp macros: you need to paste c = c and g = g lines to them, like this: &lt;BR /&gt;

&lt;PRE&gt;	call "desk_lamp_04_m" parameters all stType	= stType,
								bCalledAsMacro	= 1,
								a				= lampDiameter,
								b				= lampDiameter,
								c				= c,
								g				= g,
								a2				= a2,
								zzyzx			= lampHeight,
								unIDStart		= 1000,
								stDetLevel3d	= stDetLevel3d&lt;/PRE&gt;

&lt;BR /&gt;
After fixed the macro calls you just release the hidden light parameters in bed layout object and it will work fine.&lt;BR /&gt;
&lt;BR /&gt;
I hope this fix will be shipped with the next library hotfix.&lt;/BLOCKQUOTE&gt;

maybe it's a stupid question, but can you tell me in which "part" of the script should I paste it? 3D Script or Parameter Script?&lt;BR /&gt;
sorry, but I think I don't fully understand some relations inside gdl scripts..</description>
      <pubDate>Tue, 21 Sep 2010 14:54:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197721#M20210</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-21T14:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Taking control over lamp in Bed Layout.gsm</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197722#M20211</link>
      <description>Bartek:&lt;BR /&gt;
&lt;BR /&gt;
In the 3D Script, at lines 36 and 61, you will see a &lt;FONT color="blue"&gt;call&lt;/FONT&gt; statement similar to the code posted by Gergely Feher. His code has added parameters for control of the lamp (&lt;FONT color="blue"&gt;c&lt;/FONT&gt; &amp;amp; &lt;FONT color="blue"&gt;g&lt;/FONT&gt;). You will need to replace the &lt;FONT color="blue"&gt;calls&lt;/FONT&gt; in you script with the &lt;FONT color="blue"&gt;calls&lt;/FONT&gt; in his code. You will then need to unlock the &lt;FONT color="blue"&gt;C&lt;/FONT&gt; parameter in the main library part window by going to the Parameter Script, at line 129 and placing an "!" in front of the &lt;FONT color="blue"&gt;C&lt;/FONT&gt; parameter (similar to what you see at &lt;FONT color="blue"&gt;"gs_symbolType"&lt;/FONT&gt; a few lines above) then unhide the &lt;FONT color="blue"&gt;C&lt;/FONT&gt; &amp;amp; &lt;FONT color="blue"&gt;G&lt;/FONT&gt; parameters in the main library part window by clicking on the "X" symbol in the Display column. This will show and give control to the Light and Intensity parameters for the lamps for the object.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Wed, 22 Sep 2010 13:43:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197722#M20211</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2010-09-22T13:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Taking control over lamp in Bed Layout.gsm</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197723#M20212</link>
      <description>David,&lt;BR /&gt;
&lt;BR /&gt;
Thank you, for this "step by step"! &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt; I've changed all thoes things you said and yes - it unlocked  two addtional parameters. &lt;BR /&gt;
&lt;BR /&gt;
As you can see on attached image (sorry for layout and yellowness;)) lights are still on after all changes.&lt;BR /&gt;
&lt;BR /&gt;
I think problem can be somewhere between Archicad / Maxwell Plugin / Maxwell Render or I did something wrong &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;
I'll try to figure it out ad hoc next time when needed and post it here.</description>
      <pubDate>Mon, 27 Sep 2010 12:14:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197723#M20212</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-27T12:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Taking control over lamp in Bed Layout.gsm</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197724#M20213</link>
      <description>Bartek:&lt;BR /&gt;
&lt;BR /&gt;
From your screen shots the code looks fine. You should try a rendering in ArchiCAD with just this revised part to see if the lamps are off, if so, then there appears to be a translation issue Maxwell.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Mon, 27 Sep 2010 12:58:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Taking-control-over-lamp-in-Bed-Layout-gsm/m-p/197724#M20213</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2010-09-27T12:58:47Z</dc:date>
    </item>
  </channel>
</rss>

