<?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: Custom door marker with joint RoomID+DoorID for Schedule in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241383#M10575</link>
    <description>At first this seemed to work great, and to be a great workaround until our office migrates to AC19. &lt;BR /&gt;
&lt;BR /&gt;
HOWEVER,&lt;BR /&gt;
It caused our model to begin crashing. We have a multi-family floor plan hotlinked into our main teamwork model (and copied up many floors). I was attempting to use this to get the doors to label correctly without having to manage tons of zones on each level. It worked, but then our model started crashing. Removed the custom markers, no more crashing. Has anyone else experienced this?&lt;BR /&gt;
&lt;BR /&gt;
Also, after messing with the door markers for a couple days straight, I have also noticed some weird behavior, esp in relation to the marker picking up the Room ID. &lt;BR /&gt;
&lt;BR /&gt;
Thank you for this super clear instructions on how to get this to work though matjashka! It is really the easiest GDL customization walkthrough I have seen!</description>
    <pubDate>Fri, 04 Sep 2015 19:00:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-04T19:00:29Z</dc:date>
    <item>
      <title>Custom door marker with joint RoomID+DoorID for Schedules</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241380#M10572</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;[NOTE: READ THE WHOLE THREAD BELOW - THIS WORKAROUND WAS ORIGINALLY DEVELOPED ON AC v16]&lt;BR /&gt;
&lt;BR /&gt;
This topic is in response to the problem of having to manually merge Room ID and Door ID columns in schedules, when the door is supposed to automatically take advantage of the Zone it belongs to. &lt;BR /&gt;
Example: we have 4 doors in zone number 101, labeled A, B, C, D. On the schedule, we want to see doors 101A, 101B, 101C and 101D, in one column.&lt;BR /&gt;
&lt;BR /&gt;
Here's how you can do it by creating a custom marker. As an extra, we will add one more parameter that you can also include in your schedule. In our case, let's make it a hardware set number.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;We will modify the Door Marker_NCS 16.gsm&lt;/B&gt; -- if you don't know how to find it, search how to extract ArchiCAD library to a folder.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;TO MERGE ROOM ID AND DOOR ID INTO ONE PARAMETER, MOVE THE 2D SCRIPT SECTION SHOWN BELOW TO THE MASTER SCRIPT&lt;/B&gt;&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;!!---------------!!!!---------------!!!---------------!!
!!--- Show ID ---!!!!--- Show ID ---!!!--- Show ID ---!!
!!---------------!!!!---------------!!!---------------!!

room_num=""
If glob_context&amp;lt;&amp;gt;5 and glob_context&amp;lt;&amp;gt;1 and (GS_CustomText=`Room &amp;amp; Door ID` or GS_CustomText=`Room ID`) Then



(... AND SO FORTH, INCLUDING THE LINES BELOW:)



pen AC_TextPen_1
If GS_CustomText&amp;lt;&amp;gt;`Custom Text` Then
	Room_ID=room_num
	Door_ID=AC_WIDO_ID
Else
	Room_ID=GS_RoomCustom
	Door_ID=GS_DoorCustom
EndIf
&lt;/PRE&gt;

&lt;B&gt;THEN ADD THE FOLLOWING PARAMETERS&lt;/B&gt;&lt;BR /&gt;
&lt;B&gt;drID&lt;/B&gt; (type of variable: Text)&lt;BR /&gt;
&lt;B&gt;hdw_set&lt;/B&gt; (type of variable: Text)&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;ADD THE FOLLOWING LINE TO THE END OF THE MASTER SCRIPT&lt;/B&gt;
&lt;PRE&gt;drID=Room_ID+Door_ID&lt;/PRE&gt;

&lt;B&gt;REPLACE THE FOLLWING 2D SCRIPT SECTION&lt;/B&gt;
&lt;PRE&gt;	if GS_CustomText=`Room ID` then
		style mtext11style
		text2 0,0,Room_ID
	else
		style mtext11style
		text2 0,0,Room_ID

		style mtext12style
		text2 0,0,Door_ID
	endif
&lt;/PRE&gt;

WITH THE FOLLOWING (OR simply substitute the two variables)
&lt;PRE&gt;	if GS_CustomText=`Room ID` then
		style mtext11style
		text2 0,0,Room_ID
	else
		style mtext11style
		text2 0,0,drID

		style mtext12style
		text2 0,0,hdw_set
	endif
&lt;/PRE&gt;

&lt;B&gt;IN THE PARAMETER SCRIPT ADD THE FOLLOWING LINE&lt;/B&gt;
&lt;PRE&gt;values "drID" Room_ID+Door_ID&lt;/PRE&gt;

&lt;B&gt;Save&lt;/B&gt; your modified marker, for demonstration i included the word "TEST" at the end of the name.&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;NOW, THIS IS HOW YOU ADD THE PARAMETERS FROM YOUR CUSTOM MARKER TO ANY OF YOUR LISTS/SCHEDULES:&lt;/B&gt;
&lt;LIST type="decimal"&gt;&lt;S&gt;&lt;UL&gt;
&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;Assign your custom marker to the doors in your project. Place the zones . Make sure that the doors can use the adjacent zone number, and then give each door individual manual IDs: A, B, C, and so forth (really, this can be anything you want)&lt;/LI&gt;

&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;Open "NCS Door and Frame Sch" and click the Scheme Settings button&lt;/LI&gt;

&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;Open the "Fields / NCS Door and Frame Sch" section and click the little black arrow next to the big Add button at the bottom. Choose "Add Object Parameters"&lt;/LI&gt;

&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;From the "Select Object By" drop-down select "Search criteria", Find names which "contain" "TEST" (Since I added the word "TEST" to the name of my marker, that's how I find it).&lt;/LI&gt;

&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;Select your custom marker from the results, and all the Available Parameters will be listed for you below. In the list on your left, locate your custom-added &lt;B&gt;drID&lt;/B&gt; and &lt;B&gt;hdw_set&lt;/B&gt;. Click the &amp;gt;&amp;gt;Add&amp;gt;&amp;gt; button to add them both to the list on your right (they showed up blue in my case).&lt;/LI&gt; 

&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;Click OK when you're done.&lt;/LI&gt; 

&lt;LI&gt;&lt;S&gt;&lt;/S&gt;&lt;/LI&gt;&lt;LI&gt;You can now see your custom variables/parameters on the Available Parameters list so you can include them as columns in your schedule.&lt;/LI&gt;&lt;/UL&gt;

The rest should be pretty much self-explanatory. The door marker will let you use ANY ArchiCAD door with ANY custom parameters you want to add to the marker, and if you script it, you may show them in the marker or next to it. Use your imagination.&lt;BR /&gt;
&lt;BR /&gt;
HTH.&lt;/S&gt;&lt;/LIST&gt;&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="custom_door_marker.png" style="width: 586px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/16701iA82CFF88322DCEBA/image-size/large?v=v2&amp;amp;px=999" role="button" title="custom_door_marker.png" alt="custom_door_marker.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 24 May 2023 08:49:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241380#M10572</guid>
      <dc:creator>matjashka</dc:creator>
      <dc:date>2023-05-24T08:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom door marker with joint RoomID+DoorID for Schedule</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241381#M10573</link>
      <description>Sweet!  Thanks, I'm saving this for later when I can dig into it!</description>
      <pubDate>Tue, 27 Jan 2015 17:18:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241381#M10573</guid>
      <dc:creator>Brian Spears</dc:creator>
      <dc:date>2015-01-27T17:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Custom door marker with joint RoomID+DoorID for Schedule</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241382#M10574</link>
      <description>matjashka, finally got around to following along and modifying the Door Marker and getting the schedule to list the Room / Door combo.  pretty sweet!  thanks for taking the time to clarify the instructions!&lt;BR /&gt;
&lt;BR /&gt;
brian</description>
      <pubDate>Wed, 18 Feb 2015 03:21:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241382#M10574</guid>
      <dc:creator>Brian Spears</dc:creator>
      <dc:date>2015-02-18T03:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom door marker with joint RoomID+DoorID for Schedule</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241383#M10575</link>
      <description>At first this seemed to work great, and to be a great workaround until our office migrates to AC19. &lt;BR /&gt;
&lt;BR /&gt;
HOWEVER,&lt;BR /&gt;
It caused our model to begin crashing. We have a multi-family floor plan hotlinked into our main teamwork model (and copied up many floors). I was attempting to use this to get the doors to label correctly without having to manage tons of zones on each level. It worked, but then our model started crashing. Removed the custom markers, no more crashing. Has anyone else experienced this?&lt;BR /&gt;
&lt;BR /&gt;
Also, after messing with the door markers for a couple days straight, I have also noticed some weird behavior, esp in relation to the marker picking up the Room ID. &lt;BR /&gt;
&lt;BR /&gt;
Thank you for this super clear instructions on how to get this to work though matjashka! It is really the easiest GDL customization walkthrough I have seen!</description>
      <pubDate>Fri, 04 Sep 2015 19:00:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241383#M10575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-04T19:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom door marker with joint RoomID+DoorID for Schedule</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241384#M10576</link>
      <description>That's kinda bad news, Kyle.&lt;BR /&gt;
I'm glad it had been working for you. I stopped posting to this forum because we're still on v16 and the tricks I've learned no longer applied to current problems. I still heavily rely on this type of custom markers, but the workaround may have been rendered obsolete like you said. &lt;BR /&gt;
&lt;BR /&gt;
It almost seems like there are more and more people reporting that their old workarounds no longer work with v19. From my limited experience, GS rarely fix the absolutely horrible objects that had been stuck in the libraries for years (example: railings, outdated plumbing fixtures etc) -- I wish they would take clues from hands-on experience of the great GDL experts who've been posting here (not me). Maybe you could use some leverage to contact GS and say "guys, here was a solution to a real-world problem, could you please issue an update and make it work for everyone from now on".&lt;BR /&gt;
&lt;BR /&gt;
I'd love to help you but someone else has to chime in  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 04 Sep 2015 19:23:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241384#M10576</guid>
      <dc:creator>matjashka</dc:creator>
      <dc:date>2015-09-04T19:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom door marker with joint RoomID+DoorID for Schedule</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241385#M10577</link>
      <description>Thanks for the reply Matt!&lt;BR /&gt;
&lt;BR /&gt;
Sorry, what I wrote was really confusing.&lt;BR /&gt;
&lt;BR /&gt;
We are still on 17, and the door marker is crashing on 17. I am merely &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;hoping&lt;E&gt;&lt;/E&gt; that v19 will make your elegant solution obsolete.&lt;BR /&gt;
&lt;BR /&gt;
I am no ArchiCad or GDL expert, but it seems like your solution of &lt;B&gt;correctly&lt;/B&gt; labeling doors is too much for ArchiCad to handle when used with multiple hotlinked modules (which is sort of the point of BIM software). Perhaps I coded something wrong, but I am fairly certain that my custom door markers are to blame for the crashing. &lt;BR /&gt;
&lt;BR /&gt;
Your solution is exactly what I was hoping to find to automate door tags, it just seems that ArchiCAD can't handle doing the automation. However I have no way of knowing whether my coding could be improved, because I can't decipher and error logs after crashing.</description>
      <pubDate>Fri, 04 Sep 2015 22:36:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241385#M10577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-04T22:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Custom door marker with joint RoomID+DoorID for Schedule</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241386#M10578</link>
      <description>I originally developed this marker for a 3-story nursing home which had multiple doors buried in a typical floor hotlink plus a number of smaller modular hotlinks. It works in v16 without a problem. Again, that does not mean that this code applies to any other version. I'm not a GDL expert and I don't know what extra processing challenges may be posed by escalating instructions to the Master section of the script, and I think I had about 200 doors overall in that project. Not sure what causes the crash if the script comes out "OK".&lt;BR /&gt;
&lt;BR /&gt;
OK, happy Labor Day for now!</description>
      <pubDate>Fri, 04 Sep 2015 23:38:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Custom-door-marker-with-joint-RoomID-DoorID-for-Schedules/m-p/241386#M10578</guid>
      <dc:creator>matjashka</dc:creator>
      <dc:date>2015-09-04T23:38:14Z</dc:date>
    </item>
  </channel>
</rss>

