<?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: Cant changer surface in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227670#M3850</link>
    <description>It looks like the created object uses hard-coded attributes. The parameters you see on the UI are parameters of the selected subtype, but they aren't connected to anything in the script. I will report it as a bug.</description>
    <pubDate>Tue, 01 Dec 2020 08:50:13 GMT</pubDate>
    <dc:creator>Peter Baksa</dc:creator>
    <dc:date>2020-12-01T08:50:13Z</dc:date>
    <item>
      <title>Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227667#M3847</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" border="0" /&gt; &lt;BR /&gt;&lt;BR /&gt;I have som objects that have been made of morphs, and some has been importer as RFA objects, and converted to morph. When im saving them after morph, im saving them as MEP PARTS. &lt;BR /&gt;The problem is, i cant change the surface where i want it to. &lt;BR /&gt;&lt;BR /&gt;If you look on the attached image, i want to change the surafe there, at number 1, but when i do, nothing is happening. But at number 2, i can change it, but i dont want to change it there. Where can this be fixed?&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Sep 2021 07:29:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227667#M3847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-15T07:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227668#M3848</link>
      <description>Did you also turn off the override at 2 by clicking the paintbrush icon?</description>
      <pubDate>Mon, 30 Nov 2020 10:22:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227668#M3848</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2020-11-30T10:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227669#M3849</link>
      <description>Hi. &lt;BR /&gt;
&lt;BR /&gt;
Yes, when its off its the same, cant change it where i want to.</description>
      <pubDate>Tue, 01 Dec 2020 08:19:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227669#M3849</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-01T08:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227670#M3850</link>
      <description>It looks like the created object uses hard-coded attributes. The parameters you see on the UI are parameters of the selected subtype, but they aren't connected to anything in the script. I will report it as a bug.</description>
      <pubDate>Tue, 01 Dec 2020 08:50:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227670#M3850</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2020-12-01T08:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227671#M3851</link>
      <description>Alright. &lt;BR /&gt;
&lt;BR /&gt;
So what can i do with it now? Can it be fixed somehow? Do I just need to wait?</description>
      <pubDate>Tue, 01 Dec 2020 08:56:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227671#M3851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-01T08:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227672#M3852</link>
      <description>&lt;BLOCKQUOTE&gt;SandraGS wrote:&lt;BR /&gt;
Alright. &lt;BR /&gt;
&lt;BR /&gt;
So what can i do with it now? Can it be fixed somehow? Do I just need to wait?
&lt;/BLOCKQUOTE&gt;

You have to edit the generated 3D script to use parameters instead of hard-coded string attributes. You might have to add more parameters if the morph has many surfaces.</description>
      <pubDate>Tue, 01 Dec 2020 09:16:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227672#M3852</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2020-12-01T09:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227673#M3853</link>
      <description>This is very new to me, so can you maybe show me an example? Of where i need to change it? &lt;BR /&gt;
&lt;BR /&gt;
Its a lot in the script, and i dont know where to start or what to remove or anything.</description>
      <pubDate>Tue, 01 Dec 2020 09:40:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227673#M3853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-01T09:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227674#M3854</link>
      <description>Is the whole object a single material? If so...&lt;BR /&gt;
&lt;BR /&gt;
Open the &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Parameters Script&lt;E&gt;&lt;/E&gt; of the object and find the parameter that matches what you have highlighted in your image. Take note of that variable (A).&lt;BR /&gt;
In the &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;3D Script&lt;E&gt;&lt;/E&gt; add a line at the start that is "Material [variable A]"&lt;BR /&gt;
Search through the rest of the script and remove any other "Material" commands. Just putting an exclamation mark infront of the command will ignore it.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Wed, 02 Dec 2020 01:45:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227674#M3854</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2020-12-02T01:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227675#M3855</link>
      <description>&lt;BLOCKQUOTE&gt;SandraGS wrote:&lt;BR /&gt;
This is very new to me, so can you maybe show me an example? Of where i need to change it? &lt;BR /&gt;
&lt;BR /&gt;
Its a lot in the script, and i dont know where to start or what to remove or anything.
&lt;/BLOCKQUOTE&gt;

The 3D script contains statements like
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;r = REQUEST{2} ("Building_Material_info", "Water", "gs_bmat_surface", bms_47)
set building_material "Water", 104, -1
material "Wood - Pine Grained Horizontal"
&lt;/PRE&gt;

In this situation building_material only defines the cut surface and fill of the object. The materials are the outer surfaces. Count the number of different strings for each type.&lt;BR /&gt;
&lt;BR /&gt;
In the parameter list search for "surface". There is the generated parameter &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;MainBoxMaterial&lt;E&gt;&lt;/E&gt;. Add new surface or building material parameters in the quantity you need. You can use MainBoxMaterial for the main surface. Give them a nice name and replace the strings in the script with the names, without quotation marks. eg
&lt;PRE&gt;material MainBoxMaterial&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Dec 2020 17:04:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227675#M3855</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2020-12-02T17:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227676#M3856</link>
      <description>Hi. &lt;BR /&gt;
&lt;BR /&gt;
So, both your suggestions didnt work for me. &lt;BR /&gt;
&lt;BR /&gt;
I couldnt find any paramters that matches what im looking for in the parameter script.. &lt;BR /&gt;
&lt;BR /&gt;
And when im trying to change the surface, nothing happens. &lt;BR /&gt;
&lt;BR /&gt;
But i had support case with a client earlier, and found out that some objects in the archicad library, has the same problem, just there you actully can change it where you want to. &lt;BR /&gt;
&lt;BR /&gt;
Maybe this says you guys something more then me? Why can i change it there?</description>
      <pubDate>Mon, 14 Dec 2020 09:16:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227676#M3856</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-14T09:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227677#M3857</link>
      <description>If you can't post the object, it's hard to tell what is wrong. I can only suggest you do as Ling said. If the object is made of one type of material you could manually comment each &lt;A href="http://gdl.graphisoft.com/reference-guide/directives" target="_blank"&gt;material statement&lt;/A&gt; in &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;3D sript&lt;E&gt;&lt;/E&gt; - press Ctrl+F (windows OS) and replace "material" with "&lt;B&gt;!&lt;/B&gt;material" - apply to all. Now all materials are ignored. All that is left to write new material statement with the new_material_variable at the beginning of &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;3D Script&lt;E&gt;&lt;/E&gt; - [SET] MATERIAL name_or_index. You have to create this new_material_variable in &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Parameters&lt;E&gt;&lt;/E&gt;, not Parameter Script.</description>
      <pubDate>Tue, 15 Dec 2020 14:30:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227677#M3857</guid>
      <dc:creator>A_ Smith</dc:creator>
      <dc:date>2020-12-15T14:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227678#M3858</link>
      <description>Hi &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
I can post the object. &lt;BR /&gt;
&lt;BR /&gt;
You can download it from here &lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://we.tl/t-7UlgQhBpry" target="_blank"&gt;https://we.tl/t-7UlgQhBpry&lt;/A&gt;</description>
      <pubDate>Thu, 17 Dec 2020 07:18:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227678#M3858</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-17T07:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227679#M3859</link>
      <description>You will need to open the object and edit the 3D script.&lt;BR /&gt;
&lt;BR /&gt;
Search for all of the lines that say .... &lt;FONT color="#FF0000"&gt;material "Plastic - White"&lt;/FONT&gt;&lt;BR /&gt;
There are more than I show in the image.&lt;BR /&gt;
&lt;BR /&gt;
This is hard coding the material to Plastic - White.&lt;BR /&gt;
&lt;BR /&gt;
Replace the line with ... &lt;FONT color="#FF0000"&gt;material MainBoxMaterial&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
This will now use the material parameter that you want - make sure you don't use quotes.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 17 Dec 2020 07:46:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227679#M3859</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2020-12-17T07:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227680#M3860</link>
      <description>Hi &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
This was working wery well on some of the objects. &lt;BR /&gt;
So thank you so much &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
But i have some objects its not working on. &lt;BR /&gt;
&lt;BR /&gt;
Could you mayhbe take a look at that as well? &lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://we.tl/t-V1C9bEVkMP" target="_blank"&gt;https://we.tl/t-V1C9bEVkMP&lt;/A&gt;</description>
      <pubDate>Thu, 17 Dec 2020 09:59:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227680#M3860</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-17T09:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227681#M3861</link>
      <description>I know that i need to change the material name, but when i do that same process, i can only change surface on the little dot in the middle, and i want to change it all &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 17 Dec 2020 10:02:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227681#M3861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-17T10:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227682#M3862</link>
      <description>Well, you should look through the whole 3D script for material statements. Here there are several of them - for different materials - variables &lt;B&gt;bms_1&lt;/B&gt; and &lt;B&gt;bms_168&lt;/B&gt;, and ordinary materials - &lt;B&gt;"Maling - 01 Matt"&lt;/B&gt; and &lt;B&gt;"Maling - 01 Blank"&lt;/B&gt;.&lt;BR /&gt;
that's why you need to add after requests bms_1=MainBoxMaterial and bms_168=MainBoxMaterial and replace those materials as you did before</description>
      <pubDate>Thu, 17 Dec 2020 12:36:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227682#M3862</guid>
      <dc:creator>A_ Smith</dc:creator>
      <dc:date>2020-12-17T12:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cant changer surface</title>
      <link>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227683#M3863</link>
      <description>Thank you so much everyone. Its what i wanted now &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 17 Dec 2020 13:47:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Cant-changer-surface/m-p/227683#M3863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-17T13:47:59Z</dc:date>
    </item>
  </channel>
</rss>

