<?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: Properties GDL in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91822#M28163</link>
    <description>Just a little problem. I'm not changing the object 3d Code (I would have to change all codes of every window and door I have  - and the coming ones). So I have to make alterations only at the property code, which belongs to my system. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt; &lt;BR /&gt;
Probably I'll have to discharge the section on the list.</description>
    <pubDate>Mon, 12 May 2008 14:30:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-05-12T14:30:49Z</dc:date>
    <item>
      <title>Properties GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91811#M28152</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi, I'm trying to write a property GDL that makes the 2D drawing of windows and doors. It will (hopefully) design the elevation with the floor lines (so I can measure the sill height), but I'm stuck at this code: &lt;BR /&gt;
 
&lt;BLOCKQUOTE&gt; &lt;BR /&gt;
 ! draw the elevation &lt;BR /&gt;
drawing3 -3,90,2 &lt;BR /&gt;
!subtracts the sill height to go to the floor position &lt;BR /&gt;
add2 0,-WIDO_SILL_HEIGHT &lt;BR /&gt;
! Draw the first floor line &lt;BR /&gt;
pen 1 &lt;BR /&gt;
line2 -WIDO_N_RSIDE_WIDTH/2,0,WIDO_N_RSIDE_WIDTH/2,0 &lt;BR /&gt;
! Draw the second floor line &lt;BR /&gt;
add2 0,-.05 &lt;BR /&gt;
pen 6 &lt;BR /&gt;
line2 -WIDO_N_RSIDE_WIDTH/2,0,WIDO_N_RSIDE_WIDTH/2,0 &lt;BR /&gt;
add2 0,-.1 &lt;BR /&gt;
! Draw the third floor line &lt;BR /&gt;
pen 6 &lt;BR /&gt;
line2 -WIDO_N_RSIDE_WIDTH/2,0,WIDO_N_RSIDE_WIDTH/2,0 &lt;BR /&gt;
pen 1 &lt;BR /&gt;
del top &lt;BR /&gt;

&lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
Problem: it doesn't acquire the width of the window/door. What am I doing wrong?&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 10:43:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91811#M28152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T10:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Properties GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91812#M28153</link>
      <description>I haven't used the property scripts in ages, but can't it read the window parameters directly?</description>
      <pubDate>Fri, 09 May 2008 14:48:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91812#M28153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-09T14:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Properties GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91813#M28154</link>
      <description>&lt;BLOCKQUOTE&gt;Matthew wrote:&lt;BR /&gt;can't it read the window parameters directly?&lt;/BLOCKQUOTE&gt;

Well I thought so, and it really works with the sill value, but it doesn't with the width. That's the problem here. I think my problem is about the width value of the doors and windows,</description>
      <pubDate>Fri, 09 May 2008 15:14:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91813#M28154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-09T15:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Properties GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91814#M28155</link>
      <description>Can you post a sketch of exactly what are you trying to do?&lt;BR /&gt;
A couple of years ago I wanted to do something similar but didn't due to lack of time.&lt;BR /&gt;
I wanted to create a side elevation of a Door/Window fully complete with dimensions and stuff (of course the Dimensions would be created from lines and texts).</description>
      <pubDate>Fri, 09 May 2008 16:42:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91814#M28155</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2008-05-09T16:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Properties GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91815#M28156</link>
      <description>It's exactly what you've described. I want to create a list with the code, number of items, the elevation, plan representation, Cut representation and perspective. My idea is to put it all on a layout, put a independent detail over and put information, details and specifications on it. I first wanted to insert the list directly in the detail, but it doesn't work.</description>
      <pubDate>Fri, 09 May 2008 17:02:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91815#M28156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-09T17:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Properties GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91816#M28157</link>
      <description>OK, I see.&lt;BR /&gt;
Back to your original question: since you are on uncharted territory, unfortunately I would not be surprised if it turned out that some Global Variables return incorrect values or do not work. But this you will have to figure out. Sorry to say that.</description>
      <pubDate>Fri, 09 May 2008 17:20:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91816#M28157</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2008-05-09T17:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Properties GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91817#M28158</link>
      <description>&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt; &lt;BR /&gt;
I verified and it really doesn't return the correct values!!!! I put a text on the 2D code and it returns me a null value. It works for height and sill height but not to width!!!</description>
      <pubDate>Fri, 09 May 2008 17:47:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91817#M28158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-09T17:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Properties GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91818#M28159</link>
      <description>&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_razz.gif" style="display : inline;" /&gt;  &lt;BR /&gt;
Finally found out! the parameter I needed was SYMB_A_SIZE. It gives-me the value I need! Now the next problem &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt; : I need a section of the window/door and not a side elevation. How can I have a section of a object in GDL?&lt;BR /&gt;
&lt;BR /&gt;
Here is my result</description>
      <pubDate>Fri, 09 May 2008 19:14:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91818#M28159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-09T19:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Properties GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91819#M28160</link>
      <description>&lt;BLOCKQUOTE&gt;arqstein wrote:&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_razz.gif" style="display : inline;" /&gt;  &lt;BR /&gt;
Finally found out! the parameter I needed was SYMB_A_SIZE&lt;/BLOCKQUOTE&gt;

I think that SYMB_A_SIZE is the same as 'A' and the height is 'B' - &lt;BR /&gt;
I have similar project and just used these.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
To get the section you could cut the object with CUTPLANE or similar. Use GLOB_CONTEXT=6 | GLOB_CONTEXT=46 in the main object 3D-code to cut only when listing.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps.</description>
      <pubDate>Fri, 09 May 2008 21:17:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91819#M28160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-09T21:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Properties GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91820#M28161</link>
      <description>Yes, I am also curious about the result.&lt;BR /&gt;
The only thing that I do not know is how to get both a side view and a cut section view in the same list. If you have the GLOB_CONTEXT then it will be only either one: it will either cut the model or it won't.&lt;BR /&gt;
&lt;BR /&gt;
I just thought of a possible way: maybe you could duplicate the element so that there would the two instances of the same Door/Window (only when listing) and one of them would be cut by a CUTPLANE. This way you could have a front view and a cut section view in the same list. I hope I expressed myself well enough and what I am writing makes sense to you guys.</description>
      <pubDate>Fri, 09 May 2008 22:29:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91820#M28161</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2008-05-09T22:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Properties GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91821#M28162</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
In the property object 2D-code you have the DRAWING3 multiple times and cut the main object when needed. I used a free users' global S_ to tell the main object which loop is going on.&lt;BR /&gt;
&lt;BR /&gt;
Fox example;&lt;BR /&gt;
&lt;BR /&gt;
!--------------------------------property object 2D-code&lt;BR /&gt;
&lt;FONT color="green"&gt;for xx=1 to 2&lt;BR /&gt;
      S_=xx&lt;BR /&gt;
      drawing3 3, 270, 2&lt;BR /&gt;
      add2 2*a, 0&lt;BR /&gt;
next xx&lt;BR /&gt;
del 2&lt;/FONT&gt;&lt;BR /&gt;
!--------------------------------&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
!--------------------------------main object 3D-code&lt;BR /&gt;
!--this must be in the beginning&lt;BR /&gt;
&lt;FONT color="green"&gt;if (GLOB_CONTEXT=6 | GLOB_CONTEXT=46) &amp;amp; S_=2 then&lt;BR /&gt;
	addz 1&lt;BR /&gt;
	cutplane&lt;BR /&gt;
	del 1&lt;BR /&gt;
endif&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="green"&gt;....all your cutted 3D-code here...&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
!--ending the cut&lt;BR /&gt;
&lt;FONT color="green"&gt;if (GLOB_CONTEXT=6 | GLOB_CONTEXT=46) &amp;amp; S_=2 then cutend&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
!---------------------------------&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps.</description>
      <pubDate>Sat, 10 May 2008 21:36:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91821#M28162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-10T21:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Properties GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91822#M28163</link>
      <description>Just a little problem. I'm not changing the object 3d Code (I would have to change all codes of every window and door I have  - and the coming ones). So I have to make alterations only at the property code, which belongs to my system. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt; &lt;BR /&gt;
Probably I'll have to discharge the section on the list.</description>
      <pubDate>Mon, 12 May 2008 14:30:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91822#M28163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-12T14:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Properties GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91823#M28164</link>
      <description>If you do not change the 3D Script, then I do not have any idea of how you are going to have a cut and a non-cut version of the same element in the same list.&lt;BR /&gt;
Maybe you come up with something extraordinary, but I do not have any other idea at the moment.</description>
      <pubDate>Tue, 13 May 2008 11:35:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Properties-GDL/m-p/91823#M28164</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2008-05-13T11:35:52Z</dc:date>
    </item>
  </channel>
</rss>

