<?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: Automatically generate '2d Symbol' from shape of GDL object. in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228847#M3879</link>
    <description>&lt;PRE&gt;	gs_fw_lower + gs_int_fw + 2*gs_louvre_width,		!cutplaneHeight1, ..., cutplaneHeightn,&lt;/PRE&gt;

&lt;BR /&gt;
You will need to change those parameters to a cut height that works for you.&lt;BR /&gt;
&lt;BR /&gt;
Also, since your object is a window, you will need to add a line to your code that rotates it when in plan view as the axis rotation is different between walls and doors / windows.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;IF GLOB_VIEW_TYPE = 2 then				!Plan view
	ROTx 90
ENDIF&lt;/PRE&gt;

&lt;BR /&gt;
See the link in my previous post.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
    <pubDate>Mon, 07 Dec 2020 01:36:09 GMT</pubDate>
    <dc:creator>Lingwisyer</dc:creator>
    <dc:date>2020-12-07T01:36:09Z</dc:date>
    <item>
      <title>Automatically generate '2d Symbol' from shape of GDL object.</title>
      <link>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228839#M3871</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Is it possible to have a '2D Symbol' automatically generated from the shape of a GDL object that was created from written code (not created from the "Save Selection as..." command)?&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Sep 2021 07:27:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228839#M3871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-15T07:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generate '2d Symbol' from shape of GDL object.</title>
      <link>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228840#M3872</link>
      <description>The simpliest way is to use the following line:
&lt;PRE&gt;PROJECT2 3, 270, 2&lt;/PRE&gt;
I hope, that this is what you meant.&lt;BR /&gt;
The rest of the script can be commented (with ! at the beginning of each line)</description>
      <pubDate>Thu, 03 Dec 2020 20:20:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228840#M3872</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2020-12-03T20:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generate '2d Symbol' from shape of GDL object.</title>
      <link>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228841#M3873</link>
      <description>Thanks. That does do what I asked but I should have been more specific. The object I'm creating is a window. I need the '2d Symbol' to be cutting through the object like a section but in plan.</description>
      <pubDate>Thu, 03 Dec 2020 20:56:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228841#M3873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-03T20:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generate '2d Symbol' from shape of GDL object.</title>
      <link>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228842#M3874</link>
      <description>&lt;A href="https://archicad-talk.graphisoft.com/viewtopic.php?f=6&amp;amp;t=62584&amp;amp;start=10" target="_blank"&gt;&lt;LINK_TEXT text="https://archicad-talk.graphisoft.com/vi ... 4&amp;amp;start=10"&gt;https://archicad-talk.graphisoft.com/viewtopic.php?f=6&amp;amp;t=62584&amp;amp;start=10&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;PROJECT2{4} 3, -90,										!projection_code, angle,
	0, 1+2,												!useTransparency, statusParts,		
	1,													!numCutplanes,
	gs_fw_lower + gs_int_fw + 2*gs_louvre_width,		!cutplaneHeight1, ..., cutplaneHeightn,

	3+32, 1+2+4+8+64,									!method1, parts1,
	gs_fill_type,										!cutFillIndex1,
	gs_fill_pen, gs_back_pen,							!cutFillFgPen1, cutFillBgPen1,
	0, 0, 0,											!cutFillOrigoX1, cutFillOrigoY1, cutFillDirection1,
	gs_cut_pen,	1,										!cutLinePen1, cutLineType1,
	65,													!projectedFillIndex1,
	19, 19,												!projectedFillFgPen1, projectedFillBgPen1,
	0, 0, 0,											!projectedFillOrigoX1, projectedFillOrigoY1, projectedFillDirection1,
	gs_pen_2D, 1,										!projectedLinePen1, projectedLineType1

	4+64, 1+2,											!method1, parts1,
	gs_fill_type,										!cutFillIndex1,
	gs_fill_pen, gs_back_pen,							!cutFillFgPen1, cutFillBgPen1,
	0, 0, 0,											!cutFillOrigoX1, cutFillOrigoY1, cutFillDirection1,
	gs_cut_pen,	4,										!cutLinePen1, cutLineType1,
	65,													!projectedFillIndex1,
	19, 19,												!projectedFillFgPen1, projectedFillBgPen1,
	0, 0, 0,											!projectedFillOrigoX1, projectedFillOrigoY1, projectedFillDirection1,
	gs_pen_2D, 4										!projectedLinePen1, projectedLineType1&lt;/PRE&gt;

&lt;BR /&gt;
This post should probably be moved to the GDL thread.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Fri, 04 Dec 2020 01:34:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228842#M3874</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2020-12-04T01:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generate '2d Symbol' from shape of GDL object.</title>
      <link>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228843#M3875</link>
      <description>I pasted your code into the 2d script area but there is still nothing showing up in plan, are there any other steps I need to take?&lt;BR /&gt;
&lt;BR /&gt;
How do I move this post to the GDL thread?</description>
      <pubDate>Fri, 04 Dec 2020 18:42:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228843#M3875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-04T18:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generate '2d Symbol' from shape of GDL object.</title>
      <link>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228844#M3876</link>
      <description>[Topic moved by moderator]</description>
      <pubDate>Fri, 04 Dec 2020 19:27:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228844#M3876</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2020-12-04T19:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generate '2d Symbol' from shape of GDL object.</title>
      <link>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228845#M3877</link>
      <description>Not sure what changed but it is working now, thanks. It's not yet doing exactly what i need, but I will play with it for a bit and see what I get.</description>
      <pubDate>Fri, 04 Dec 2020 20:29:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228845#M3877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-04T20:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generate '2d Symbol' from shape of GDL object.</title>
      <link>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228846#M3878</link>
      <description>Lingwisyer, the code you posted only shows up as a single line in plan, see image below.&lt;BR /&gt;</description>
      <pubDate>Sat, 05 Dec 2020 19:26:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228846#M3878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-05T19:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generate '2d Symbol' from shape of GDL object.</title>
      <link>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228847#M3879</link>
      <description>&lt;PRE&gt;	gs_fw_lower + gs_int_fw + 2*gs_louvre_width,		!cutplaneHeight1, ..., cutplaneHeightn,&lt;/PRE&gt;

&lt;BR /&gt;
You will need to change those parameters to a cut height that works for you.&lt;BR /&gt;
&lt;BR /&gt;
Also, since your object is a window, you will need to add a line to your code that rotates it when in plan view as the axis rotation is different between walls and doors / windows.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;IF GLOB_VIEW_TYPE = 2 then				!Plan view
	ROTx 90
ENDIF&lt;/PRE&gt;

&lt;BR /&gt;
See the link in my previous post.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Mon, 07 Dec 2020 01:36:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228847#M3879</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2020-12-07T01:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generate '2d Symbol' from shape of GDL object.</title>
      <link>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228848#M3880</link>
      <description>That worked great. Thanks.&lt;BR /&gt;
&lt;BR /&gt;
Is there anyway to only see the cut line and not the rest of the object beyond the cut line?</description>
      <pubDate>Mon, 07 Dec 2020 21:46:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228848#M3880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-07T21:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generate '2d Symbol' from shape of GDL object.</title>
      <link>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228849#M3881</link>
      <description>Get rid of the second section of the &lt;B&gt;Project4{2}&lt;/B&gt;?&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://gdl.graphisoft.com/tips-and-tricks/using-project24-command" target="_blank"&gt;&lt;LINK_TEXT text="https://gdl.graphisoft.com/tips-and-tri ... 24-command"&gt;https://gdl.graphisoft.com/tips-and-tricks/using-project24-command&lt;/LINK_TEXT&gt;&lt;/A&gt;</description>
      <pubDate>Tue, 08 Dec 2020 01:22:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228849#M3881</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2020-12-08T01:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically generate '2d Symbol' from shape of GDL object.</title>
      <link>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228850#M3882</link>
      <description>Looks great. Thanks for all the help.</description>
      <pubDate>Tue, 08 Dec 2020 22:28:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Automatically-generate-2d-Symbol-from-shape-of-GDL-object/m-p/228850#M3882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-08T22:28:57Z</dc:date>
    </item>
  </channel>
</rss>

