<?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: Basic GDL in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193574#M27043</link>
    <description>Erich, this is what I found. doesn;t match yours exactly but it's close. Is this correct? I tried what you suggested but I can't seem to get the changes to take affect. &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
if GS_Type70 = 2 or GS_Type70 = 3 then	! triangles&lt;BR /&gt;
		if GS_Type70 = 2 then&lt;BR /&gt;
			fillFrame	= 5 + 2 * gs_backfill	! 5 / 7&lt;BR /&gt;
			fillType	= gs_backfill_type&lt;BR /&gt;
			fillPen		= gs_backfill_pen_fg&lt;BR /&gt;
			fillBackPen	= gs_backfill_pen_bg&lt;BR /&gt;
		endif&lt;BR /&gt;
		if GS_Type70 = 3 then&lt;BR /&gt;
			fillFrame	= 7&lt;BR /&gt;
			fillType	= AC_MarkerFill&lt;BR /&gt;
			fillPen		= SYMB_VIEW_PEN&lt;BR /&gt;
			fillBackPen = -1&lt;BR /&gt;
		endif&lt;BR /&gt;
&lt;BR /&gt;
		fill fillType&lt;BR /&gt;
&lt;BR /&gt;
		poly2_b 3, fillFrame, fillPen, fillBackPen,&lt;BR /&gt;
			-AC_MarkerSize * 0.5,	1,				1,&lt;BR /&gt;
			 AC_MarkerSize * 0.5,	1,				1,&lt;BR /&gt;
			 0,						AC_MarkerSize,	1&lt;BR /&gt;
		add2 -AC_MarkerSize * 0.8, 0&lt;BR /&gt;
	endif</description>
    <pubDate>Wed, 22 Oct 2008 18:37:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-10-22T18:37:43Z</dc:date>
    <item>
      <title>Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193566#M27035</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
I am working on learning some basic GDL skills and had a question. I would like to edit the existing IE Marker to look more like our office specific markers. The triangular marker that comes with Archicad is close but I would like to stretch the bottom corners of the triangle to flatten it out a bit. see attached. I've been able to get in and play around with the object but can't seem to find a way to stretch it. Any thoughts? &lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/8551iDDF97047DA6968CD/image-size/large?v=v2&amp;amp;px=999" border="0" alt="objects.JPG" title="objects.JPG" /&gt;</description>
      <pubDate>Tue, 21 Oct 2008 20:46:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193566#M27035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-21T20:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193567#M27036</link>
      <description>Without looking, Id guess you're looking for a Poly2 statement to modify.&lt;BR /&gt;
&lt;BR /&gt;
What have you tried so far?</description>
      <pubDate>Tue, 21 Oct 2008 21:24:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193567#M27036</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2008-10-21T21:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193568#M27037</link>
      <description>Thanks for the reply Tom. At this point I have opened up the object and played around with all the settings under parameters. I'm able to get the colors and text the way I need but cant find any properties to stretch the symbol. Also I've looked at the Master Script but really not sure about it. &lt;BR /&gt;
&lt;BR /&gt;
I'm just getting into GDL so excuse the lack of knowledge here.</description>
      <pubDate>Tue, 21 Oct 2008 22:00:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193568#M27037</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-21T22:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193569#M27038</link>
      <description>jorgec,&lt;BR /&gt;
&lt;BR /&gt;
Open the marker, then open the macro "Section-Elevation Marker Macro"&lt;BR /&gt;
&lt;BR /&gt;
In the 2D script look for the following:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
		if GS_Type70 = 2 then&lt;BR /&gt;
			fillFrame	= 5 + 2 * gs_backfill	! 5 / 7&lt;BR /&gt;
			fillType	= gs_backfill_type&lt;BR /&gt;
			fillPen		= gs_backfill_pen_fg&lt;BR /&gt;
			fillBackPen	= gs_backfill_pen_bg&lt;BR /&gt;
		endif&lt;BR /&gt;
		if GS_Type70 = 3 then&lt;BR /&gt;
			fillFrame	= 7&lt;BR /&gt;
			fillType	= AC_MarkerFill&lt;BR /&gt;
			fillPen		= SYMB_VIEW_PEN&lt;BR /&gt;
			fillBackPen = -1&lt;BR /&gt;
		endif&lt;BR /&gt;
&lt;BR /&gt;
		fill fillType&lt;BR /&gt;
&lt;BR /&gt;
		poly2_b 3, fillFrame, fillPen, fillBackPen,&lt;BR /&gt;
			-AC_MarkerSize * 0.5,	0,				1,&lt;BR /&gt;
			 AC_MarkerSize * 0.5,	0,				1,&lt;BR /&gt;
			 0,						AC_MarkerSize,	1&lt;BR /&gt;
		add2 -AC_MarkerSize * 0.8, 0&lt;BR /&gt;
	endif	if GS_Type70 = 2 or GS_Type70 = 3 then	! triangles&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
As Tom suggested you want to edit the poly2_b{3} statement. Without trying it, it looks like you merely need ot change the multiplier for the AC_MarekerSize variable. You will not find anything to do this in the parameter settings.&lt;BR /&gt;
&lt;BR /&gt;
HTH</description>
      <pubDate>Wed, 22 Oct 2008 00:53:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193569#M27038</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2008-10-22T00:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193570#M27039</link>
      <description>I was just trying the same thing the other day. Are you talking about the "Section-Elevation Marker Macro" the master script calls? How do you open it?  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Wed, 22 Oct 2008 01:57:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193570#M27039</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-22T01:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193571#M27040</link>
      <description>dmn,&lt;BR /&gt;
&lt;BR /&gt;
To open the macro, select the part, then open it:&lt;BR /&gt;
&lt;BR /&gt;
File &amp;gt; Libraries and Objects &amp;gt; Open Object&lt;BR /&gt;
&lt;BR /&gt;
Look in the Master Script for the text "Section-Elevation Marker Macro" and select it (without the quotes). Then, with the text selected go to the File menu and  open the object again - the same steps as above but this time the text is selected rather than an object in the .pln. This action will open the macro.&lt;BR /&gt;
&lt;BR /&gt;
Beware that you only make changes to a copy of the part rather than the original. That way if you mess it up you still have the original to go back to. Also, any future library update will not overwrite your changes.&lt;BR /&gt;
&lt;BR /&gt;
HTH</description>
      <pubDate>Wed, 22 Oct 2008 02:27:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193571#M27040</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2008-10-22T02:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193572#M27041</link>
      <description>Erich,&lt;BR /&gt;
&lt;BR /&gt;
Thanks, I will try it first thing tomorrow morning. I will let you know if I get it.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the help.</description>
      <pubDate>Wed, 22 Oct 2008 03:30:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193572#M27041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-22T03:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193573#M27042</link>
      <description>jorgec,&lt;BR /&gt;
&lt;BR /&gt;
I think I identified the correct section of the code, but I did not test it. You should be able to check yourself by commenting out the section and seeing what happens. &lt;BR /&gt;
&lt;BR /&gt;
Good luck.</description>
      <pubDate>Wed, 22 Oct 2008 04:22:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193573#M27042</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2008-10-22T04:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193574#M27043</link>
      <description>Erich, this is what I found. doesn;t match yours exactly but it's close. Is this correct? I tried what you suggested but I can't seem to get the changes to take affect. &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
if GS_Type70 = 2 or GS_Type70 = 3 then	! triangles&lt;BR /&gt;
		if GS_Type70 = 2 then&lt;BR /&gt;
			fillFrame	= 5 + 2 * gs_backfill	! 5 / 7&lt;BR /&gt;
			fillType	= gs_backfill_type&lt;BR /&gt;
			fillPen		= gs_backfill_pen_fg&lt;BR /&gt;
			fillBackPen	= gs_backfill_pen_bg&lt;BR /&gt;
		endif&lt;BR /&gt;
		if GS_Type70 = 3 then&lt;BR /&gt;
			fillFrame	= 7&lt;BR /&gt;
			fillType	= AC_MarkerFill&lt;BR /&gt;
			fillPen		= SYMB_VIEW_PEN&lt;BR /&gt;
			fillBackPen = -1&lt;BR /&gt;
		endif&lt;BR /&gt;
&lt;BR /&gt;
		fill fillType&lt;BR /&gt;
&lt;BR /&gt;
		poly2_b 3, fillFrame, fillPen, fillBackPen,&lt;BR /&gt;
			-AC_MarkerSize * 0.5,	1,				1,&lt;BR /&gt;
			 AC_MarkerSize * 0.5,	1,				1,&lt;BR /&gt;
			 0,						AC_MarkerSize,	1&lt;BR /&gt;
		add2 -AC_MarkerSize * 0.8, 0&lt;BR /&gt;
	endif</description>
      <pubDate>Wed, 22 Oct 2008 18:37:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193574#M27043</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-22T18:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193575#M27044</link>
      <description>Erich,&lt;BR /&gt;
&lt;BR /&gt;
After I make the changes I am not able to load the new object. When I go to the Interior Elevation tool and try to search for another marker the ones I've saved do not show up. &lt;BR /&gt;
&lt;BR /&gt;
I must be doing something wrong but can't pinpoint it. &lt;BR /&gt;
&lt;BR /&gt;
Thanks for all your help.</description>
      <pubDate>Wed, 22 Oct 2008 19:02:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193575#M27044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-22T19:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193576#M27045</link>
      <description>jorgec,&lt;BR /&gt;
&lt;BR /&gt;
You will need to save the macro as a separate file as well as the file for the marker that you initially opened. In that newly saved version of the initial file, you will need to change the call to refer to your altered macro.</description>
      <pubDate>Wed, 22 Oct 2008 22:53:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193576#M27045</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2008-10-22T22:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193577#M27046</link>
      <description>Erich,&lt;BR /&gt;
&lt;BR /&gt;
It worked &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; . I just need to fudge with it a little bit  to make it perfect.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for all the help.</description>
      <pubDate>Wed, 22 Oct 2008 22:59:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193577#M27046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-22T22:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193578#M27047</link>
      <description>I got it too. It confused me at first, but then I realized "AC_Markersize" is the paramater you use to define the scale of the marker, so you just change the multipliers to change the size.&lt;BR /&gt;
&lt;BR /&gt;
While you're in there, you can look for the line "Separator " "" (the one with space between the qoutes) and insert a /. This will give you "DrgID/LayID"</description>
      <pubDate>Thu, 23 Oct 2008 15:39:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193578#M27047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-23T15:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193579#M27048</link>
      <description>Nice, I will try that. I am now looking to see if I can place the text below the marker rather than next to it. For some reason when I place the marker the symbol does not point in the right direction.&lt;BR /&gt;
&lt;BR /&gt;
I'm getting there though.</description>
      <pubDate>Thu, 23 Oct 2008 15:43:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193579#M27048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-23T15:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193580#M27049</link>
      <description>For me it was at line 188, and you want the one after the else statement.</description>
      <pubDate>Thu, 23 Oct 2008 16:00:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193580#M27049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-23T16:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193581#M27050</link>
      <description>that worked. now I just need to resolve the location of the text and how to get it to place properly.</description>
      <pubDate>Thu, 23 Oct 2008 16:08:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193581#M27050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-23T16:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193582#M27051</link>
      <description>You don't need to. Go ahead and place it in the drawing and use the hotpoints to move it to the appropriate location (centered on the bottom of the marker). Now eyedrop it. Now whatever the orientation, the text will always appear in that location when you draw a new marker.</description>
      <pubDate>Thu, 23 Oct 2008 18:28:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193582#M27051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-23T18:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Basic GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193583#M27052</link>
      <description>Thanks. that will work.</description>
      <pubDate>Thu, 23 Oct 2008 19:23:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Basic-GDL/m-p/193583#M27052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-23T19:23:07Z</dc:date>
    </item>
  </channel>
</rss>

