<?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: Is there a way to specify which 2D the object preview shows? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-specify-which-2D-the-object-preview-shows/m-p/385745#M410</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/65694"&gt;@jackjackjackjack&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The object shows up when the user places it then opens object settings.&amp;nbsp; &lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That is because it does not do what it needs to do until you place it on a layout.&lt;/P&gt;
&lt;P&gt;Until then it has no idea what it needs to display.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The best you can do is take a screen image of what it look s like when on a layout, and paste that into the 'Picture Preview' window in the GDL editor.&lt;/P&gt;
&lt;P&gt;Then the preview image of the object will at least show what it will look like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryKelly_0-1688023727996.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/39714iC2F2EBCFE3515157/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryKelly_0-1688023727996.png" alt="BarryKelly_0-1688023727996.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2023 07:30:53 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2023-06-29T07:30:53Z</dc:date>
    <item>
      <title>Is there a way to specify which 2D the object preview shows?</title>
      <link>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-specify-which-2D-the-object-preview-shows/m-p/385737#M409</link>
      <description>&lt;P&gt;I'm making an object that acts like a stamp. It's our alternative way to using acrobat's pdf stamps. Anyways I've come across an issue where I can preview the object in the object setting since it only works in layout/publisher.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the screenshot it only shows what it will look like when the user places the object in 2D plan. The actual object only appears in layout. How do I make the 2D preview show layout instead?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/39712i4F0EC5C7D3F88E76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The object shows up when the user places it then opens object settings.&amp;nbsp; &lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 06:54:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-specify-which-2D-the-object-preview-shows/m-p/385737#M409</guid>
      <dc:creator>jackjackjackjack</dc:creator>
      <dc:date>2023-06-29T06:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify which 2D the object preview shows?</title>
      <link>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-specify-which-2D-the-object-preview-shows/m-p/385745#M410</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/65694"&gt;@jackjackjackjack&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The object shows up when the user places it then opens object settings.&amp;nbsp; &lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That is because it does not do what it needs to do until you place it on a layout.&lt;/P&gt;
&lt;P&gt;Until then it has no idea what it needs to display.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The best you can do is take a screen image of what it look s like when on a layout, and paste that into the 'Picture Preview' window in the GDL editor.&lt;/P&gt;
&lt;P&gt;Then the preview image of the object will at least show what it will look like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryKelly_0-1688023727996.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/39714iC2F2EBCFE3515157/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryKelly_0-1688023727996.png" alt="BarryKelly_0-1688023727996.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 07:30:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-specify-which-2D-the-object-preview-shows/m-p/385745#M410</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-06-29T07:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify which 2D the object preview shows?</title>
      <link>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-specify-which-2D-the-object-preview-shows/m-p/385748#M411</link>
      <description>&lt;P&gt;If your object has various ways to display, it might sometimes be a good idea to make an image that shows those variations.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lingwisyer_0-1688024323982.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/39715iDE0CEACE0A1AF210/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lingwisyer_0-1688024323982.png" alt="Lingwisyer_0-1688024323982.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 07:39:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-specify-which-2D-the-object-preview-shows/m-p/385748#M411</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-06-29T07:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify which 2D the object preview shows?</title>
      <link>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-specify-which-2D-the-object-preview-shows/m-p/385848#M412</link>
      <description>&lt;P&gt;Thanks barry,&lt;/P&gt;&lt;P&gt;I was hoping to avoid the picture preview and somehow point 2d preview to layout instead.&lt;/P&gt;&lt;P&gt;I think this has forced my hand&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 03:32:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-specify-which-2D-the-object-preview-shows/m-p/385848#M412</guid>
      <dc:creator>jackjackjackjack</dc:creator>
      <dc:date>2023-06-30T03:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to specify which 2D the object preview shows?</title>
      <link>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-specify-which-2D-the-object-preview-shows/m-p/385871#M413</link>
      <description>&lt;P&gt;There is a very easy solution. Since you already test for GLOB_VIEW_TYPE (= 8 == Layout), just amend that IF loop with &lt;CODE&gt;GLOB_PREVIEW_MODE = 1&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then you'll see the layout stuff in the preview.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 07:53:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Is-there-a-way-to-specify-which-2D-the-object-preview-shows/m-p/385871#M413</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2023-06-30T07:53:52Z</dc:date>
    </item>
  </channel>
</rss>

