<?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: GLOB_CONTEXT and 3D Documents in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175877#M19626</link>
    <description>&lt;BLOCKQUOTE&gt;ztaskai wrote:&lt;BR /&gt;That was decided on purpose. There is no way to add a new GLOB_CONTEXT value since there can be old GDL scripts out there which list all possible values (they know of) in IF statements. We'd ruin these scripts by adding a new value and this would break the ever-compatibility of GDL. So we had to find the best possible match in the existing options. 
&lt;/BLOCKQUOTE&gt;

That never stopped you guys before. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_eek.gif" style="display : inline;" /&gt; &lt;BR /&gt;
Back in version 12 GLOB_USER became useless in 3D scripts - worked fine up till then.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=147228&amp;amp;highlight=globuser#147228" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... ser#147228"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?p=147228&amp;amp;highlight=globuser#147228&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
And in nearly every version the WALL_SKINS_PARAMS has changed from 6 values in version 7 to 12 in version 8 then 13 in version 10, 14 in 11, 15 in 12 and now 16 in 13 and 14.&lt;BR /&gt;
And the WALL_SKINS_NUMBER jumped from 8 to 127 in version 11.&lt;BR /&gt;
&lt;BR /&gt;
I'm not saying this is a bad thing but like Owen says backwards compatibility can be a hindrance.&lt;BR /&gt;
&lt;BR /&gt;
So long as we are told about the changes we can fix our scripts to suit.&lt;BR /&gt;
I use the same parts regardless of the Archicad version and just script in  -if GDL version is "x" then do this , if "y" do that and if "z" do something else.&lt;BR /&gt;
Now I know what is happening it is easy to adjust my objects to work in any version.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
    <pubDate>Wed, 21 Jul 2010 05:39:51 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2010-07-21T05:39:51Z</dc:date>
    <item>
      <title>GLOB_CONTEXT and 3D Documents</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175873#M19622</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Does anyone know how 3D Documents work in relation to the GLOB-CONTEXT query?&lt;BR /&gt;
&lt;BR /&gt;
Taken from the AC13 GDL Reference Guide:&lt;BR /&gt;
&lt;BR /&gt;
"&lt;B&gt;GLOB_CONTEXT	context of appearance&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;1-library part editor, 2-floor plan, 3-3D view, 4-section/elevation, 5-settings dialog, 6-list, 7 - detail drawing, 8 - layout, 22 - editing feedback mode from the floor plan, 23 - editing feedback mode from a 3Dview, 24 - editing feedback mode from a section/elevation, 28 - editing feedback mode from a layout, 43 - generating as an operator from a 3D view, 44 - generating as an operator from a section/elevation, 46 - generating as an operator from a list&lt;E&gt;&lt;/E&gt;"&lt;BR /&gt;
&lt;BR /&gt;
My understanding of this is there is no dedicated context for 3D Documents .. so they should come under a general 3D View?&lt;BR /&gt;
&lt;BR /&gt;
However this doesn't seem to be the case.&lt;BR /&gt;
&lt;BR /&gt;
I have an IF GLOB_CONTEXT&amp;lt;&amp;gt;3 statement to hide 3D Lines in the 3D Window (which works) however when i create a 3D Document from that view I get the lines.&lt;BR /&gt;
&lt;BR /&gt;
See attached image (3D Doc on left) - the 3D Lines representing the framing and spandrel behind the glass in curtain wall panels should not be visible (i have turned transparency of the glass off for clarity)&lt;BR /&gt;
&lt;BR /&gt;
cheers,&lt;BR /&gt;
&lt;BR /&gt;
owen&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3D Document.png" style="width: 936px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/17470iDB08260A81479A95/image-size/large?v=v2&amp;amp;px=999" role="button" title="3D Document.png" alt="3D Document.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 24 May 2023 09:53:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175873#M19622</guid>
      <dc:creator>owen</dc:creator>
      <dc:date>2023-05-24T09:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: GLOB_CONTEXT and 3D Documents</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175874#M19623</link>
      <description>Think I have answered my own question.&lt;BR /&gt;
&lt;BR /&gt;
I tried an IF GLOB_CONTEXT=4 and the lines are visible .. so it seems the 3D Document is classed as a '4-Section/Elevation'.&lt;BR /&gt;
&lt;BR /&gt;
Next question for GS .. why?? &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
 I think the name 3D Document makes it pretty clear to which of the '3-3D View' and '4-Section/Elevation' options it should relate.</description>
      <pubDate>Tue, 20 Jul 2010 08:56:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175874#M19623</guid>
      <dc:creator>owen</dc:creator>
      <dc:date>2010-07-20T08:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: GLOB_CONTEXT and 3D Documents</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175875#M19624</link>
      <description>Hi Owen,&lt;BR /&gt;
&lt;BR /&gt;
That was decided on purpose. There is no way to add a new GLOB_CONTEXT value since there can be old GDL scripts out there which list all possible values (they know of) in IF statements. We'd ruin these scripts by adding a new value and this would break the ever-compatibility of GDL. So we had to find the best possible match in the existing options. Having the 3DD a &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;documenting&lt;E&gt;&lt;/E&gt; window, we chose &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;section&lt;E&gt;&lt;/E&gt;.&lt;BR /&gt;
&lt;BR /&gt;
You can distinguish between section/elevation and 3DD, though. We introduced a new APPLICATION_QUERY into ArchiCAD:&lt;BR /&gt;

&lt;PRE&gt;n = APPLICATION_QUERY ("document_feature", "view_direction", type)&lt;/PRE&gt;

For more details look into Appendix B of Basic Library Documentation.&lt;BR /&gt;
&lt;BR /&gt;
Regs,</description>
      <pubDate>Tue, 20 Jul 2010 15:48:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175875#M19624</guid>
      <dc:creator>ztaskai</dc:creator>
      <dc:date>2010-07-20T15:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: GLOB_CONTEXT and 3D Documents</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175876#M19625</link>
      <description>thanks for the pointer Zsolt&lt;BR /&gt;
&lt;BR /&gt;
understand the reasoning behind the lack of a dedicated 3D Doc value in GLOB_CONTEXT .. although it does make you wonder at what point backward compatibility becomes a hindrance to progress. I think needing to upgrade a family of objects every few versions to take account of new and/or retired/adjusted commands is not an unreasonable expectation.&lt;BR /&gt;
&lt;BR /&gt;
another topic but perhaps if we had a better object coding environment it (updating many objects) would not be such a chore (i'm guessing you guys at GS don't create and manage all your objects via the AC object editing interface?)</description>
      <pubDate>Wed, 21 Jul 2010 03:32:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175876#M19625</guid>
      <dc:creator>owen</dc:creator>
      <dc:date>2010-07-21T03:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: GLOB_CONTEXT and 3D Documents</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175877#M19626</link>
      <description>&lt;BLOCKQUOTE&gt;ztaskai wrote:&lt;BR /&gt;That was decided on purpose. There is no way to add a new GLOB_CONTEXT value since there can be old GDL scripts out there which list all possible values (they know of) in IF statements. We'd ruin these scripts by adding a new value and this would break the ever-compatibility of GDL. So we had to find the best possible match in the existing options. 
&lt;/BLOCKQUOTE&gt;

That never stopped you guys before. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_eek.gif" style="display : inline;" /&gt; &lt;BR /&gt;
Back in version 12 GLOB_USER became useless in 3D scripts - worked fine up till then.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=147228&amp;amp;highlight=globuser#147228" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... ser#147228"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?p=147228&amp;amp;highlight=globuser#147228&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
And in nearly every version the WALL_SKINS_PARAMS has changed from 6 values in version 7 to 12 in version 8 then 13 in version 10, 14 in 11, 15 in 12 and now 16 in 13 and 14.&lt;BR /&gt;
And the WALL_SKINS_NUMBER jumped from 8 to 127 in version 11.&lt;BR /&gt;
&lt;BR /&gt;
I'm not saying this is a bad thing but like Owen says backwards compatibility can be a hindrance.&lt;BR /&gt;
&lt;BR /&gt;
So long as we are told about the changes we can fix our scripts to suit.&lt;BR /&gt;
I use the same parts regardless of the Archicad version and just script in  -if GDL version is "x" then do this , if "y" do that and if "z" do something else.&lt;BR /&gt;
Now I know what is happening it is easy to adjust my objects to work in any version.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Wed, 21 Jul 2010 05:39:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175877#M19626</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2010-07-21T05:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: GLOB_CONTEXT and 3D Documents</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175878#M19627</link>
      <description>&lt;BLOCKQUOTE&gt;owen wrote:&lt;BR /&gt;another topic but perhaps if we had a better object coding environment it (updating many objects) would not be such a chore (i'm guessing you guys at GS don't create and manage all your objects via the AC object editing interface?)&lt;/BLOCKQUOTE&gt;

You are right with both points.&lt;BR /&gt;
&lt;BR /&gt;
First, the coding environment is remarkably outdated. On top of that, I can't even promise that it will get much better soon. At feature developments, the features serving more users keep winning... I just hope we can add some small patches for the most painful parts in the next few versions.&lt;BR /&gt;
&lt;BR /&gt;
Second, we mostly work in XML format with commercial code/text editors and use LP_XMLConverter intensively. Naturally, we use the AC libpart editor for modeling-heavy job -- so we share the pain:)&lt;BR /&gt;
&lt;BR /&gt;
Regs,</description>
      <pubDate>Wed, 21 Jul 2010 08:58:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175878#M19627</guid>
      <dc:creator>ztaskai</dc:creator>
      <dc:date>2010-07-21T08:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: GLOB_CONTEXT and 3D Documents</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175879#M19628</link>
      <description>&lt;BLOCKQUOTE&gt;owen wrote:&lt;BR /&gt;... although it does make you wonder at what point backward compatibility becomes a hindrance to progress. I think needing to upgrade a family of objects every few versions to take account of new and/or retired/adjusted commands is not an unreasonable expectation.&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;I'm not saying this is a bad thing but like Owen says backwards compatibility can be a hindrance.&lt;BR /&gt;
So long as we are told about the changes we can fix our scripts to suit.&lt;/BLOCKQUOTE&gt;

I'm glad to hear actual user feedback on this matter. And I'm glad that you, library developers, don't feel bad about necessary updates. But I'm more concerned about end users. They don't understand GDL error messages and they might not even know where some objects came from. They just conclude that their libraries (they probably payed for) stop working in the new ArchiCAD version (they certainly payed for). ArchiCAD would have to provide a very sophisticated library migration process to even consider killing or changing old GDL features. At least these are my fears about compatibility...&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;ztaskai wrote:&lt;BR /&gt;... We'd ruin these scripts by adding a new value and this would break the ever-compatibility of GDL.&lt;/BLOCKQUOTE&gt;
That never stopped you guys before. :shock: &lt;BR /&gt;
Back in version 12 GLOB_USER became useless in 3D scripts - worked fine up till then.&lt;/BLOCKQUOTE&gt;

That's a bit different issue for us than the rest of the compatibility issues. On the other side I can see that it's pretty much the same for you. The thing is that in multithreaded 3D (and 2D) generation there is no efficient way for synchronizing the generation of different objects. This reason reaches far beyond GDL. The lesson of the story for me is that Graphisoft failed to communicate the supported usage of user globals (which is passing values between macro callers and called macros) and there was no way for you to know about the whole issue. &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Until&lt;E&gt;&lt;/E&gt; your objects stopped working... That's exactly the kind of situation we want to avoid.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;And in nearly every version the WALL_SKINS_PARAMS has changed from 6 values in version 7 to 12 in version 8 then 13 in version 10, 14 in 11, 15 in 12 and now 16 in 13 and 14.&lt;BR /&gt;
And the WALL_SKINS_NUMBER jumped from 8 to 127 in version 11.&lt;/BLOCKQUOTE&gt;

Neither of these changes affects any scripts incompatibly. Increasing the size of an array won't break scripts that refer to the lower indices. It's a good example though. When we optimized WALL_SKINS_PARAMS in AC14 so that it occupies the necessary size only, we payed extra attention to the fact that 8 rows always have to be filled as legacy scripts may refer to row 6 even when there are only 2 skins (assuming it's values to be 0). All in all, we &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;are&lt;E&gt;&lt;/E&gt; compatible with this one.&lt;BR /&gt;
&lt;BR /&gt;
Best regards,</description>
      <pubDate>Wed, 21 Jul 2010 11:20:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GLOB-CONTEXT-and-3D-Documents/m-p/175879#M19628</guid>
      <dc:creator>ztaskai</dc:creator>
      <dc:date>2010-07-21T11:20:39Z</dc:date>
    </item>
  </channel>
</rss>

