<?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 'Dynamic Block' behaviour in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Dynamic-Block-behaviour/m-p/229397#M3885</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I need to produce a housing layout, the layout is for around 140 homes. Having just been on AutoCAD for 2 years doing these, I need to find a way to develop 'dynamic block' style footprints as I can't be manually working with groups / dumb objects. &lt;BR /&gt;&lt;BR /&gt;Each footprint should have at least a 'flip / mirror' toggle and when the object changes flip state some text within the object should change. So when I plot a house in the 'As' orientation it should should note 'As' and when I plot it mirrored it should say 'Opp' or 'H'. See image below.&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="https://live.staticflickr.com/65535/50689656483_d41716cf01_o.jpg" border="0" /&gt;&lt;BR /&gt;&lt;BR /&gt;There is no 3D info in the object, though it would be good to add that later on to create a full 'cardboard' 3D model. &lt;BR /&gt;&lt;BR /&gt;I have the fallback option of doing this in AutoCAD but want to do it with ArchiCAD if possible. Any ideas how I can mimic AutoCAD's dynamic block feature set within a library part? Albeit only the flip and lookup options at this time?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/DIV&gt;</description>
    <pubDate>Wed, 15 Sep 2021 07:27:29 GMT</pubDate>
    <dc:creator>Jacques Toerien</dc:creator>
    <dc:date>2021-09-15T07:27:29Z</dc:date>
    <item>
      <title>'Dynamic Block' behaviour</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Block-behaviour/m-p/229397#M3885</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I need to produce a housing layout, the layout is for around 140 homes. Having just been on AutoCAD for 2 years doing these, I need to find a way to develop 'dynamic block' style footprints as I can't be manually working with groups / dumb objects. &lt;BR /&gt;&lt;BR /&gt;Each footprint should have at least a 'flip / mirror' toggle and when the object changes flip state some text within the object should change. So when I plot a house in the 'As' orientation it should should note 'As' and when I plot it mirrored it should say 'Opp' or 'H'. See image below.&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="https://live.staticflickr.com/65535/50689656483_d41716cf01_o.jpg" border="0" /&gt;&lt;BR /&gt;&lt;BR /&gt;There is no 3D info in the object, though it would be good to add that later on to create a full 'cardboard' 3D model. &lt;BR /&gt;&lt;BR /&gt;I have the fallback option of doing this in AutoCAD but want to do it with ArchiCAD if possible. Any ideas how I can mimic AutoCAD's dynamic block feature set within a library part? Albeit only the flip and lookup options at this time?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Sep 2021 07:27:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Block-behaviour/m-p/229397#M3885</guid>
      <dc:creator>Jacques Toerien</dc:creator>
      <dc:date>2021-09-15T07:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: 'Dynamic Block' behaviour</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Block-behaviour/m-p/229398#M3886</link>
      <description>1. Either you create your own object.&lt;BR /&gt;
&lt;BR /&gt;
2. Or you can use "House Model 24"</description>
      <pubDate>Mon, 07 Dec 2020 11:00:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Block-behaviour/m-p/229398#M3886</guid>
      <dc:creator>Nader Belal</dc:creator>
      <dc:date>2020-12-07T11:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: 'Dynamic Block' behaviour</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Block-behaviour/m-p/229399#M3887</link>
      <description>The &lt;A href="http://gdl.graphisoft.com/reference-guide/general-object-parameters#SYMB_MIRRORED_gdlglobal" target="_blank"&gt;SYMB_MIRRORED&lt;/A&gt; global variable contains whether an object is mirrored. You don't even need to code a "mirror" parameter, Archicad's mirror command will flip this boolean. 
&lt;PRE&gt;stTitle = "As"
if SYMB_MIRRORED then stTitle = "Opp"
text2 0,0, stTitle
&lt;/PRE&gt;
You will have to handle the position of the text, the easiest way is to change the text anchor when mirrored using &lt;A href="http://gdl.graphisoft.com/reference-guide/inline-attribute-definition#DEFINESTYLE_gdlcommandl" target="_blank"&gt;DEFINE STYLE&lt;/A&gt; and &lt;A href="http://gdl.graphisoft.com/reference-guide/directives#SETSTYLE_gdlcommand" target="_blank"&gt;SET STYLE&lt;/A&gt;.&lt;BR /&gt;
Btw. in Archicad you can't plot a drawing mirrored, the model has to be mirrored. Modules can be created from the model, which can be placed in their original or mirrored orientation. SYMB_MIRRORED will also contain the mirrored state of the placed module.</description>
      <pubDate>Mon, 07 Dec 2020 12:16:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Block-behaviour/m-p/229399#M3887</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2020-12-07T12:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: 'Dynamic Block' behaviour</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Block-behaviour/m-p/229400#M3888</link>
      <description>Thank you, I'll look into this tonight.</description>
      <pubDate>Mon, 07 Dec 2020 12:40:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Block-behaviour/m-p/229400#M3888</guid>
      <dc:creator>Jacques Toerien</dc:creator>
      <dc:date>2020-12-07T12:40:26Z</dc:date>
    </item>
  </channel>
</rss>

