<?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: How can I get an override material for the wall? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574748#M5803</link>
    <description>&lt;P&gt;You could possibly query gs_bmat_surface with the Builind_Material_info REQUEST then compare that to the WALL_SKINS_PARAMS return. If they are different, then the surface override is toggled on. If they are the same, then the toggle is either off or the selected surface is the same as the Building Material.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ling.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2023 06:41:59 GMT</pubDate>
    <dc:creator>Lingwisyer</dc:creator>
    <dc:date>2023-11-09T06:41:59Z</dc:date>
    <item>
      <title>How can I get an override material for the wall?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/573529#M5786</link>
      <description>&lt;P&gt;I'm trying to get the override material for the wall from window &amp;amp; door.&lt;BR /&gt;How can I get an override material for the wall?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="스크린샷 2023-11-01 200046.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/48290i5810936F63ABC803/image-size/medium?v=v2&amp;amp;px=400" role="button" title="스크린샷 2023-11-01 200046.png" alt="스크린샷 2023-11-01 200046.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:46:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/573529#M5786</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2024-09-26T11:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get an override material for the wall?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/573633#M5787</link>
      <description>&lt;P&gt;I am sure you have discussed this in other posts.&lt;/P&gt;
&lt;P&gt;You need WALL_MAT_A, WALL_MAT_B, WALL_MAT_EDGE&lt;/P&gt;
&lt;P&gt;But I think the values returned depend on how the window/door is placed in the wall - opening toward reveal side or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 02:11:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/573633#M5787</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-11-02T02:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get an override material for the wall?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/573655#M5788</link>
      <description>&lt;P&gt;Following from Barry's, you can determine which side of the wall the door / window reveal was set to then flip WALL_MAT_A and WALL_MAT_B as required.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 03:35:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/573655#M5788</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-11-02T03:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get an override material for the wall?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/573687#M5789</link>
      <description>&lt;P&gt;Thank you for answer. ^^&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.graphisoft.com/t5/GDL/Doesn-t-the-3D-script-take-the-master-scripter-s-variable-values/td-p/379958" target="_blank"&gt;Doesn't the 3D script take the master scripter's v... - Graphisoft Community&lt;/A&gt;&lt;BR /&gt;I've discussed WALL_MAT_A before.&lt;BR /&gt;The story progressed as a way to check because FLIPPED in 2D SCRIPT did not work in 3D SCRIPT.&lt;BR /&gt;And I also used WALL_MAT_A as a test, but the script didn't work, so I thought it didn't work.&lt;BR /&gt;That's why I posted a question, wondering if there might be something else.&lt;BR /&gt;I hope you understand. ^^&lt;/P&gt;
&lt;P&gt;I have doubts about whether I need to change my mind about comparing the materials obtained in step 1 of WALL_SKINS_PARAMS. ????&lt;/P&gt;
&lt;P&gt;I thought I would get the material index from the building material obtained in step 1 and compare it with WALL_MAT_A.&lt;BR /&gt;If I change the surface material like I did, is there a variable that will tell me what the value has changed?&lt;/P&gt;
&lt;P&gt;In other words, is there a way to know when an icon was pressed and the material changed?&lt;/P&gt;
&lt;P&gt;Thank you always for your consideration. ^^&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.graphisoft.com/t5/GDL/Why-is-the-default-value-of-WALL-FLIPPED-1/m-p/373237" target="_blank" rel="noopener"&gt;Solved: Why is the default value of WALL_FLIPPED 1? - Graphisoft Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I don't think I understood at this time.&lt;BR /&gt;I couldn't remember at all.&lt;BR /&gt;I think I just solved the question about the WALL_FLIPPED value.&lt;BR /&gt;sorry. ^^&lt;BR /&gt;I apologize for not being able to understand your in-depth explanation due to my limited skills.&lt;/P&gt;
&lt;P&gt;Have a happy day.. ^^&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 08:50:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/573687#M5789</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-11-02T08:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get an override material for the wall?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574565#M5793</link>
      <description>&lt;P&gt;I would like to know how to know when this button has been pressed.&lt;BR /&gt;I'm asking this question because I think I need to know whether this button was pressed when comparing wall_mat_a with wall_skin_param.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 07:27:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574565#M5793</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-11-08T07:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get an override material for the wall?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574574#M5795</link>
      <description>&lt;P&gt;It is a boolean value.&lt;/P&gt;
&lt;P&gt;If it is 0, the wall is not flipped.&lt;/P&gt;
&lt;P&gt;If it is 1, the wall is flipped.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 08:14:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574574#M5795</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-11-08T08:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get an override material for the wall?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574602#M5796</link>
      <description>&lt;P&gt;Are you referring to wall_flipped?&lt;/P&gt;
&lt;P&gt;wall_flipped 3D script does not work properly.&lt;/P&gt;
&lt;P&gt;And I want to know if that button is on/off.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.graphisoft.com/t5/GDL/Doesn-t-the-3D-script-take-the-master-scripter-s-variable-values/td-p/379958" target="_blank"&gt;Doesn't the 3D script take the master scripter's v... - Graphisoft Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 09:59:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574602#M5796</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-11-08T09:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get an override material for the wall?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574730#M5799</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/11600"&gt;@LeeJaeYoung&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Are you referring to wall_flipped?&lt;/P&gt;
&lt;P&gt;wall_flipped 3D script does not work properly.&lt;/P&gt;
&lt;P&gt;And I want to know if that button is on/off.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I thought you were talking about WALL_FLIPPED.&lt;/P&gt;
&lt;P&gt;I have never actually used it but it is supposed to be usable in 3D.&lt;/P&gt;
&lt;P&gt;This is not the same as the button for flipping in the windows and doors.&lt;/P&gt;
&lt;P&gt;That I think is WIDO_REVEAL_SIDE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 02:35:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574730#M5799</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-11-09T02:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get an override material for the wall?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574734#M5800</link>
      <description>&lt;P&gt;From an object I was experimenting with.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF SYMB_ROTANGLE = 180 then
		BUILDING_MATERIAL WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][18]							!Inside building material
		SECT_ATTRS{2} WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][9]
	else
		BUILDING_MATERIAL WALL_SKINS_PARAMS[1][18]											!outside building material
		SECT_ATTRS{2} WALL_SKINS_PARAMS[1][7]
endIF

	IF skin_return = "Custom" | skin_return = "Custom Inside" then
			gs_fw_side_left = gs_fw_side_left_i
			gs_fw_side_right = gs_fw_side_right_i
			gs_fw_upper = gs_fw_upper_i
			gs_fw_lower = gs_fw_lower_i
		ELSE
			IF SYMB_ROTANGLE = 180 then
					gs_fw_side_left = WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][2]
					gs_fw_side_right = WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][2]
					gs_fw_upper = WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][2]
					gs_fw_lower = WALL_SKINS_PARAMS[WALL_SKINS_NUMBER][2]
				else
					gs_fw_side_left = WALL_SKINS_PARAMS[1][2]
					gs_fw_side_right = WALL_SKINS_PARAMS[1][2]
					gs_fw_upper = WALL_SKINS_PARAMS[1][2]
					gs_fw_lower = WALL_SKINS_PARAMS[1][2]
			endIF
	endIF

	IF WIDO_REVEAL_SIDE = 0 then
			WALL_MAT = WALL_MAT_A
		else
			WALL_MAT = WALL_MAT_B
	endIF&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 03:06:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574734#M5800</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-11-09T03:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get an override material for the wall?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574736#M5801</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_0-1699502239012.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/48683i85BCF55457FD9F2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_0-1699502239012.png" alt="LeeJaeYoung_0-1699502239012.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I would like to know the function that determines whether this button has been pressed.&lt;BR /&gt;Even though I read it, I can't find that part.&lt;/P&gt;
&lt;P&gt;Does this have anything to do with it?&lt;BR /&gt;WALL_SKINS_PARAMS&lt;BR /&gt;[19] skin edge surface index (considering wall edge surface override). Compatibility: introduced in ARCHICAD 22.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 04:04:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574736#M5801</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-11-09T04:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get an override material for the wall?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574744#M5802</link>
      <description>&lt;P&gt;I don't think you can tell if that button is pressed or not.&lt;/P&gt;
&lt;P&gt;It just affects what is the surface material used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When it is off, the surface material (WALL_MAT_A etc.) comes from the wall composite.&lt;/P&gt;
&lt;P&gt;When it is on, it is what ever you have set the override material to be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even WALL_SKINS_PARAMS [skin_number][19] will report the wall surface or the override surface if it is set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you never know if the override has been set or not.&lt;/P&gt;
&lt;P&gt;It just gives you the surface material currently being used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 05:57:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574744#M5802</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-11-09T05:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get an override material for the wall?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574748#M5803</link>
      <description>&lt;P&gt;You could possibly query gs_bmat_surface with the Builind_Material_info REQUEST then compare that to the WALL_SKINS_PARAMS return. If they are different, then the surface override is toggled on. If they are the same, then the toggle is either off or the selected surface is the same as the Building Material.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ling.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 06:41:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/574748#M5803</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-11-09T06:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get an override material for the wall?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/575733#M5853</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GDL doesn't know about the state of this button. WALL_MAT_A/B always contains the result of the settings, what is seen on the model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WALL_FLIPPED doesn't work in 3d, and WALL_MAT_A/B behaves differently in 3d than 2d regarding flipping, while WALL_SKINS_PARAMS[][19] is the same in 2d-3d.&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;addz -0.3
material WALL_MAT_B
block .2,.2,.2

addz 0.6
material WALL_MAT_A
block .2,.2,.2
&lt;/LI-CODE&gt;
&lt;P&gt;The coordinate system and the global variables are always set in a way that you don't need to care about a flipped wall, or how the opening was placed in 3D.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 08:14:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/575733#M5853</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2023-11-16T08:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get an override material for the wall?</title>
      <link>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/575759#M5856</link>
      <description>&lt;P&gt;Thank you to peter baksa and lingwisyer.&lt;BR /&gt;I will study more and ask questions.&lt;/P&gt;
&lt;P&gt;My thoughts were short and I thought it was changed by the button, but on the contrary, it turns out that the result is obtained by comparing.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 10:31:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/How-can-I-get-an-override-material-for-the-wall/m-p/575759#M5856</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-11-16T10:31:05Z</dc:date>
    </item>
  </channel>
</rss>

