<?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: Converting window-door marker from 7.0 to 9.0 in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Converting-window-door-marker-from-7-0-to-9-0/m-p/32060#M32590</link>
    <description>Durval:&lt;BR /&gt;
&lt;BR /&gt;
I went through this process a long time ago (this change occurred with ArchiCAD 8 ), so I don't remember all the details, but hope I can give you some hints.&lt;BR /&gt;
&lt;BR /&gt;
I don't think you can pass your windows' parameters to the door/window marker anymore, as you did by calling the macro from within the 2D Script. You will need to look at the parameters of the door/window marker itself (these appeared when you changed the subtype to "Window-Door Marker"), I believe these are the only parameter values you can pass from the door/window object to the marker. These markers are now more like independent objects.&lt;BR /&gt;
&lt;BR /&gt;
If some of the parameters are for the marker only (like the shape of the symbol outline), they should be moved from the door/window parameter list to the marker's list, they will then appear under the Dimension Marker section of the door/window dialog box rather than the Parameters section. I could not tell from the code you posted which variables are taken from the door/window and which might be just for the marker.&lt;BR /&gt;
&lt;BR /&gt;
Probably not what you wanted to hear, but HTH.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
    <pubDate>Fri, 17 Nov 2006 14:55:01 GMT</pubDate>
    <dc:creator>David Maudlin</dc:creator>
    <dc:date>2006-11-17T14:55:01Z</dc:date>
    <item>
      <title>Converting window-door marker from 7.0 to 9.0</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Converting-window-door-marker-from-7-0-to-9-0/m-p/32059#M32589</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;I have a set of parametric windows and door that I created with ArchiCAD 7. &lt;BR /&gt;
In their 2d script there was a call to a custom marker called 'marcador_abertura.gsm: 
&lt;PRE&gt;IF WIDO_CUSTOM_MARKER THEN 
    CALL "marcador_abertura" PARAMETERS larg=A, alt=B, peit=J_  , espin=dit,pos=posmc, ih=ihmc, iv=ivmc, mp=mpmc, 
            cod=codmc 
ENDIF&lt;/PRE&gt; &lt;BR /&gt;
 &lt;BR /&gt;
I could use it as macro for my custom openings, but I could also use it as an independent 2d object, to mark other windows/doors used in the project that were not created by me. &lt;BR /&gt;
As a macro, it worked great, reading parameters from windows and inserting them in the custom marker. In window/door dialogs, the parameters for markers showed together with the other parameters for the windows/doors. I just had to enable 'Dimensions' and select 'Use object's settings' in dimensions parameters. &lt;BR /&gt;
 &lt;BR /&gt;
Now I'm trying to use the same objects in ArchiCAD 9 Mac. After I changed 'marcador_abertura.gsm' subtype to Window-Door Marker, I can select it in the Dimension Marker popup of openings. But the parameters that should be read from windows are not passed to the marker anymore. &lt;BR /&gt;
 &lt;BR /&gt;
Strangely enough, if I open an old AC7.0 project win AC9 the markers still work as expected. In the Dimension Marker popup it says 'Custom Marker - 70', instead of the name of my custom marker (marcador_abertura). If I insert a new window, I can't select that 'Custom Marker - 70' anymore..! &lt;BR /&gt;
 &lt;BR /&gt;
What's the painless way of getting my custom openings and marker work together again in AC 9.0?&lt;BR /&gt;
&lt;BR /&gt;
Bellow is the 2d code (quite simple) of my 'marcador_abertura.gsm', in case it helps to find an answer:&lt;BR /&gt;

&lt;PRE&gt;    ROT2 90
    MUL2 1-2*ih, 1-2*iv
    ADD2 0, larg/2-larg*pos

PEN calin
LINE2 0, 0, compf, 0

HOTSPOT2 compf, 0

PEN catex
SET STYLE "estlargalt"
TEXT2 espinM, O, tlargalt

IF mp&amp;lt;&amp;gt;"desligado" THEN
SET STYLE "estpeit"
TEXT2 espinM+comptex/2, -tafonM/3, tpeit
ENDIF


IF cod&amp;lt;&amp;gt;"desligado" THEN

PEN calin
RECT2 compf, -compcod/2, compf+altcod, compcod/2

    ADD2 compf+altcod/2, 0
    ROT2 90+180*iv
    
SET STYLE "estcod"
PEN catex
TEXT2 0, 0, tcod
    DEL 2
ENDIF

    DEL 3
&lt;/PRE&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 10:46:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Converting-window-door-marker-from-7-0-to-9-0/m-p/32059#M32589</guid>
      <dc:creator>Durval</dc:creator>
      <dc:date>2023-05-24T10:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Converting window-door marker from 7.0 to 9.0</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Converting-window-door-marker-from-7-0-to-9-0/m-p/32060#M32590</link>
      <description>Durval:&lt;BR /&gt;
&lt;BR /&gt;
I went through this process a long time ago (this change occurred with ArchiCAD 8 ), so I don't remember all the details, but hope I can give you some hints.&lt;BR /&gt;
&lt;BR /&gt;
I don't think you can pass your windows' parameters to the door/window marker anymore, as you did by calling the macro from within the 2D Script. You will need to look at the parameters of the door/window marker itself (these appeared when you changed the subtype to "Window-Door Marker"), I believe these are the only parameter values you can pass from the door/window object to the marker. These markers are now more like independent objects.&lt;BR /&gt;
&lt;BR /&gt;
If some of the parameters are for the marker only (like the shape of the symbol outline), they should be moved from the door/window parameter list to the marker's list, they will then appear under the Dimension Marker section of the door/window dialog box rather than the Parameters section. I could not tell from the code you posted which variables are taken from the door/window and which might be just for the marker.&lt;BR /&gt;
&lt;BR /&gt;
Probably not what you wanted to hear, but HTH.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Fri, 17 Nov 2006 14:55:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Converting-window-door-marker-from-7-0-to-9-0/m-p/32060#M32590</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2006-11-17T14:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Converting window-door marker from 7.0 to 9.0</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Converting-window-door-marker-from-7-0-to-9-0/m-p/32061#M32591</link>
      <description>Well i don't have a great help for you either, &lt;BR /&gt;
but i had the same problem.. and i just remaked the marker in AC 9 or 10 !  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_lol.gif" style="display : inline;" /&gt;  &lt;BR /&gt;
 &lt;BR /&gt;
and the problem solved, just lost some time on that, not a lot .. &lt;BR /&gt;
and got a new legit marker!  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_idea.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 24 Nov 2006 13:51:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Converting-window-door-marker-from-7-0-to-9-0/m-p/32061#M32591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-11-24T13:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Converting window-door marker from 7.0 to 9.0</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Converting-window-door-marker-from-7-0-to-9-0/m-p/32062#M32592</link>
      <description>It is probably easiest to just make a new marker than to edit an old one (this is what I have found anyway). A simple 2D script with a circle (or whatever) and a bit of text does the trick for most of my clients. You just save the part as a door/window marker subtype. Use the GLOB_ID parameter to pick up the door/window ID.</description>
      <pubDate>Fri, 24 Nov 2006 16:32:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Converting-window-door-marker-from-7-0-to-9-0/m-p/32062#M32592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-11-24T16:32:09Z</dc:date>
    </item>
  </channel>
</rss>

