<?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: Position (exterior/interior) in GDL in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383342#M352</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran 2023-06-13 à 11.15.54.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38881i2366295F3B4A7316/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d’écran 2023-06-13 à 11.15.54.png" alt="Capture d’écran 2023-06-13 à 11.15.54.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It says " The 2D script has errors. In the project, the library part will be shown with its 2D symbol"&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2023 09:17:15 GMT</pubDate>
    <dc:creator>Mathias Jonathan</dc:creator>
    <dc:date>2023-06-13T09:17:15Z</dc:date>
    <item>
      <title>Position (exterior/interior) in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383089#M344</link>
      <description>&lt;P&gt;Hello everyone!&lt;BR /&gt;I'm working on a mark for a door that behaves differently if the door is inside or outside.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've seen that you can display the parameter interior/exterior in a label, but when opening the GDL of the label, the corresponding macro is too complicated for me as it displays all the properties, so I can't get this one piece of information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I retrieve the interior/exterior information simply in GDL?&lt;/P&gt;
&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 07:35:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383089#M344</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2023-06-12T07:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Position (exterior/interior) in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383093#M345</link>
      <description>&lt;P&gt;There really is no interior/exterior.&lt;/P&gt;
&lt;P&gt;It is all a bit of a trick, so long as you place your windows and doors consistently with the reveal on the 'outside' of the wall, and then the second click to place the door/window selects the swing/opening direction - you click either out side (the same as the reveal side - WIDO_REVEAL_SIDE value will = 0), or the inside (opposite side to the reveal side - WIDO_REVEAL_SIDE value will = 1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then it is a case of checking the value of the Global parameter ... WIDO_REVEAL_SIDE in your script.&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="BarryKelly_0-1686555815772.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38791i4F87C51ED2289A66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryKelly_0-1686555815772.png" alt="BarryKelly_0-1686555815772.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 07:48:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383093#M345</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-06-12T07:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Position (exterior/interior) in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383095#M346</link>
      <description>&lt;P&gt;Thanks Barry,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wasn't talking about the interior/exterior face of the door, but the parameter that you manually check and that is exported in IFC (Position Category for Ifc).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 07:55:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383095#M346</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2023-06-12T07:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Position (exterior/interior) in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383104#M347</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/6242"&gt;@Mathias Jonathan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I wasn't talking about the interior/exterior face of the door, but the parameter that you manually check and that is exported in IFC (Position Category for Ifc).&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Ah, you mean this setting.&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="BarryKelly_0-1686558428434.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38793iE0F036906A67765E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryKelly_0-1686558428434.png" alt="BarryKelly_0-1686558428434.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is not an actual object parameter.&lt;/P&gt;
&lt;P&gt;I think you have to get that with a REQUEST in GDL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What label is it you were using?&lt;/P&gt;
&lt;P&gt;I might be able to help track it down for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 08:47:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383104#M347</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-06-12T08:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Position (exterior/interior) in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383123#M348</link>
      <description>&lt;P&gt;Yes, it's this one!&lt;/P&gt;
&lt;P&gt;I found the info in the label " Classification and Property Label"&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="Capture d’écran 2023-06-12 à 11.35.01.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38806iA3436E8A55CAF16B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d’écran 2023-06-12 à 11.35.01.png" alt="Capture d’écran 2023-06-12 à 11.35.01.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But when I open the object, it refers to the macro:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;call "PropertyParamRequest_m"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which is a macro that calls alls parameters, so it is difficult for me to find this specific info.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 09:38:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383123#M348</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2023-06-12T09:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Position (exterior/interior) in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383144#M349</link>
      <description>&lt;P&gt;It is a REQUEST.&lt;/P&gt;
&lt;P&gt;The position is a Core Property.&lt;/P&gt;
&lt;P&gt;I found out is is a Core Property called ... Main.Position&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use this REQUEST to get is value ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;n = REQUEST ("Property_Value_Of_Parent", "Main.Position", type, dim1, dim2, propertyValues)

print propertyValues
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;propertyValues will contain the value you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 11:30:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383144#M349</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-06-12T11:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Position (exterior/interior) in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383154#M350</link>
      <description>&lt;P&gt;It works well, thank you!&lt;/P&gt;
&lt;P&gt;I want to use this request in order to have different representation of the door marker when the door is inside or outside the building&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an error message when saving the GDL object, but It works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is what i wrote:&lt;/P&gt;
&lt;P&gt;In Master Script:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;n = REQUEST ("Property_Value_Of_Parent", "Main.Position", type, dim1, dim2, propertyValues)
&lt;/LI-CODE&gt;
&lt;P&gt;In Master Script:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF propertyValues= "Extérieur" THEN
TEXT2 0,0,"It works"
ENDIF
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I avoid this error message?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 12:48:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383154#M350</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2023-06-12T12:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Position (exterior/interior) in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383273#M351</link>
      <description>&lt;P&gt;Did you forget to attach the error message?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 01:05:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383273#M351</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-06-13T01:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Position (exterior/interior) in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383342#M352</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran 2023-06-13 à 11.15.54.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38881i2366295F3B4A7316/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d’écran 2023-06-13 à 11.15.54.png" alt="Capture d’écran 2023-06-13 à 11.15.54.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It says " The 2D script has errors. In the project, the library part will be shown with its 2D symbol"&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 09:17:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383342#M352</guid>
      <dc:creator>Mathias Jonathan</dc:creator>
      <dc:date>2023-06-13T09:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Position (exterior/interior) in GDL</title>
      <link>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383343#M353</link>
      <description>&lt;P&gt;Hi Mathias,&lt;/P&gt;
&lt;P&gt;To avoid the error message you can do this&lt;BR /&gt;Part of script taken from this example on GDL Center&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gdl.graphisoft.com/tips-and-tricks/display-properties-with-labels" target="_blank"&gt;https://gdl.graphisoft.com/tips-and-tricks/display-properties-with-labels&lt;/A&gt;&lt;BR /&gt;I removed the gosub which is not needed with a string&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;_valueToConvert = ""
_valueString = "Value: "
dim _propertyValues[][]
_dim1 = 0
_dim2 = 0
_stringPropValue = ""

n = REQUEST ("Property_Value_Of_Parent", "Main.Position" , _type, _dim1, _dim2, _propertyValues)

if n then
	! change zeros to ones - it is easier to handle all possible arrays in a double loop
	if _dim1  = 0 then _dim1 = 1	
	if _dim2  = 0 then _dim2 = 1

	for i = 1 to _dim1
		for j = 1 to _dim2
			if (i + j) &amp;gt; 2 then _valueString = _valueString + "; "

			if _type = 4 then		! Type is string - no conversion needed
				_stringPropValue = _propertyValues[j][i]
			else	! bool, real, integer types - conversion needed to string
				_valueToConvert = _propertyValues[j][i]
!!!				gosub "convertToString"
			endif
			_valueString =  _stringPropValue
		next j
	next i
endif


if _stringPropValue = "Extérieur" THEN
TEXT2 0,0,"It works"
endif&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 09:20:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Position-exterior-interior-in-GDL/m-p/383343#M353</guid>
      <dc:creator>Yves</dc:creator>
      <dc:date>2023-06-13T09:20:28Z</dc:date>
    </item>
  </channel>
</rss>

