<?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: Customized Door and Window Marker that is parametric in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Customized-Door-and-Window-Marker-that-is-parametric/m-p/170859#M13873</link>
    <description>I'm not exactly sure what you have tried so far, but it is probably easier to first try writing a new marker from scratch rather than editing an existing one. Once you've got the basics down you can look at one of the standard parts to see what they did.&lt;BR /&gt;
&lt;BR /&gt;
The first step is to try the "hello world" type of script. In the 2D script of your new part (of door label subtype) write:&lt;BR /&gt;

&lt;PRE&gt;Text2 0, 0, GLOB_ID&lt;/PRE&gt;

Which will use the door's ID value as set in the Info Palette, or...&lt;BR /&gt;

&lt;PRE&gt;Text2 0, 0, "HELLO WORLD"&lt;/PRE&gt;

If you want to be traditional.  &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;
This will place the text indicated by the third value at the center of the door.&lt;BR /&gt;
&lt;BR /&gt;
From here you will need to get into the DEFINE STYLE and SET STYLE functions to get the text to look and align the way you want, and the LINE2 and/or POLY2  functions to draw the hexagon.&lt;BR /&gt;
&lt;BR /&gt;
One advantage of doing custom annotation markers from scratch like this is that you probably only want them to look one way so you can write them very simply to look exactly as you want without having to set parameters for fonts, pens, etc. &lt;BR /&gt;
&lt;BR /&gt;
The GDL Reference Manual has what you need to know but just barely. If you find it too cryptic the GDL Cookbook by David Nicholson-Cole or the GDL Handbook by Andrew Watson are good resources. Specific questions can also be asked here of course.&lt;BR /&gt;
&lt;BR /&gt;
Good luck!</description>
    <pubDate>Mon, 15 Jul 2013 12:50:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-07-15T12:50:50Z</dc:date>
    <item>
      <title>Customized Door and Window Marker that is parametric</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Customized-Door-and-Window-Marker-that-is-parametric/m-p/170857#M13871</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi, &lt;BR /&gt;
&lt;BR /&gt;
I have a question about a specific door and window makers. I want to make my own customized markers and I'm not to familiar with the GDL programming and all I have already reached up to open Subtype Hierarchy-&amp;gt;Marker-&amp;gt;Window-Door-Skylight Marker then Door Marker then a dialogue box will appear showing me all the parameters then after that what's next? &lt;BR /&gt;
shown in the image below is the door marker that I am trying to achieve. the one on the left is an ArchiCAD door object with the default markers while on the right is an Archicad door object without any markers, the markers that is shown are drawn only by line and text. Is it possible to incoporate it as a custom door marker? &lt;BR /&gt;
&lt;BR /&gt;
if you can point me to any sites or info regarding this it would mean a lot. &lt;BR /&gt;
thank you so much. &lt;BR /&gt;
&lt;BR /&gt;
Best Regards, &lt;BR /&gt;
&lt;BR /&gt;
RJ&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/71034i81EC92A61CB37F0D/image-size/large?v=v2&amp;amp;px=999" border="0" alt="DOORMAKER.JPG" title="DOORMAKER.JPG" /&gt;</description>
      <pubDate>Wed, 24 May 2023 10:34:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Customized-Door-and-Window-Marker-that-is-parametric/m-p/170857#M13871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T10:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Customized Door and Window Marker that is parametric</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Customized-Door-and-Window-Marker-that-is-parametric/m-p/170858#M13872</link>
      <description>RJ:&lt;BR /&gt;
&lt;BR /&gt;
There is no easy answer, similar threads are:&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=166094" target="_blank"&gt;Custom Door Marker&lt;/A&gt; and &lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=149443" target="_blank"&gt;Custom Markers!&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
This will take an intermediate understanding of GDL, you can search this site for threads and links to guides about GDL to get started.&lt;BR /&gt;
&lt;BR /&gt;
You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Mon, 15 Jul 2013 12:48:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Customized-Door-and-Window-Marker-that-is-parametric/m-p/170858#M13872</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2013-07-15T12:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Customized Door and Window Marker that is parametric</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Customized-Door-and-Window-Marker-that-is-parametric/m-p/170859#M13873</link>
      <description>I'm not exactly sure what you have tried so far, but it is probably easier to first try writing a new marker from scratch rather than editing an existing one. Once you've got the basics down you can look at one of the standard parts to see what they did.&lt;BR /&gt;
&lt;BR /&gt;
The first step is to try the "hello world" type of script. In the 2D script of your new part (of door label subtype) write:&lt;BR /&gt;

&lt;PRE&gt;Text2 0, 0, GLOB_ID&lt;/PRE&gt;

Which will use the door's ID value as set in the Info Palette, or...&lt;BR /&gt;

&lt;PRE&gt;Text2 0, 0, "HELLO WORLD"&lt;/PRE&gt;

If you want to be traditional.  &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;
This will place the text indicated by the third value at the center of the door.&lt;BR /&gt;
&lt;BR /&gt;
From here you will need to get into the DEFINE STYLE and SET STYLE functions to get the text to look and align the way you want, and the LINE2 and/or POLY2  functions to draw the hexagon.&lt;BR /&gt;
&lt;BR /&gt;
One advantage of doing custom annotation markers from scratch like this is that you probably only want them to look one way so you can write them very simply to look exactly as you want without having to set parameters for fonts, pens, etc. &lt;BR /&gt;
&lt;BR /&gt;
The GDL Reference Manual has what you need to know but just barely. If you find it too cryptic the GDL Cookbook by David Nicholson-Cole or the GDL Handbook by Andrew Watson are good resources. Specific questions can also be asked here of course.&lt;BR /&gt;
&lt;BR /&gt;
Good luck!</description>
      <pubDate>Mon, 15 Jul 2013 12:50:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Customized-Door-and-Window-Marker-that-is-parametric/m-p/170859#M13873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-15T12:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Customized Door and Window Marker that is parametric</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Customized-Door-and-Window-Marker-that-is-parametric/m-p/170860#M13874</link>
      <description>Thanks David for the useful info. regarding my concern. I will check out the links that you have provided. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;David wrote:&lt;BR /&gt;RJ:&lt;BR /&gt;
&lt;BR /&gt;
There is no easy answer, similar threads are:&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=166094" target="_blank"&gt;Custom Door Marker&lt;/A&gt; and &lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=149443" target="_blank"&gt;Custom Markers!&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
This will take an intermediate understanding of GDL, you can search this site for threads and links to guides about GDL to get started.&lt;BR /&gt;
&lt;BR /&gt;
You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.&lt;BR /&gt;
&lt;BR /&gt;
David&lt;/BLOCKQUOTE&gt; &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 16 Jul 2013 04:41:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Customized-Door-and-Window-Marker-that-is-parametric/m-p/170860#M13874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T04:41:22Z</dc:date>
    </item>
  </channel>
</rss>

