<?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 Dashed line to indicate cabinet swing interior elevations? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233655#M5427</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hi all - I have been researching how to show a dashed line to indicate the cabinet swing on interior elevations and it seems as if Archicad is not able to do this without a 3rd party product? This seems so basic in terms of drafting...just curious if anyone has any solutions? I don’t mind drawing them in but I’m worried if a cabinet changes then it will get messed up on the elevations. If I draw them in is there a way to attach or group the line work to the cabinet so that if the cabinet changes or gets deleted the line work does also? Thank you. U&lt;/DIV&gt;</description>
    <pubDate>Mon, 26 Sep 2022 20:57:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-09-26T20:57:40Z</dc:date>
    <item>
      <title>Dashed line to indicate cabinet swing interior elevations?</title>
      <link>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233655#M5427</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi all - I have been researching how to show a dashed line to indicate the cabinet swing on interior elevations and it seems as if Archicad is not able to do this without a 3rd party product? This seems so basic in terms of drafting...just curious if anyone has any solutions? I don’t mind drawing them in but I’m worried if a cabinet changes then it will get messed up on the elevations. If I draw them in is there a way to attach or group the line work to the cabinet so that if the cabinet changes or gets deleted the line work does also? Thank you. U&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Sep 2022 20:57:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233655#M5427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-26T20:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dashed line to indicate cabinet swing interior elevation</title>
      <link>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233656#M5428</link>
      <description>In 3D we only have a 'Solid' line type.&lt;BR /&gt;
So the trick is to determine the length and angle of that line and then cut it up into smaller lines with gaps.&lt;BR /&gt;
Something like this should work - you need to determine the start and end for each line and then GOSUB.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;line_dash = 0.100
line_gap = 0.050

start_x = 0
start_z = 0
end_x = door_wid
end_z = (door_hgt*0.5)


line_len = SQR((ABS(start_x-end_x))^2 + (ABS(start_z-end_z))^2)
line_ang = ATN(((start_z-end_z))/((start_x-end_x)))

ADD start_x,-0.0001,start_z  !!will sit line slightly in front of door by 0.1mm
ROTy -line_ang
GOSUB 300
DEL 2



END



300: ! Dashed door swing lines
if Showdash=0 then
lin_ 0,0,0,line_len,0,0
goto 301
endif

if Showdash = 1 then
if line_len&amp;lt;(line_dash+line_gap) then
gosub 302
goto 301
endif

Spa_no=int((line_len-line_dash)/(line_dash+line_gap))

If Spa_no&amp;lt;=0 then : Spa_no=1 : endif
for cnta=1 to Spa_no
lin_ 0,0,0,line_dash,0,0
addx (line_len-line_dash)/Spa_no
next cnta
del Spa_no

lin_ line_len-line_dash,0,0,line_len,0,0

endif

301:
return

302: !Short hidden lines
lin_ 0,0,0,(line_len*0.5)-0.008,0,0
lin_ line_len,0,0,(line_len*0.5)+0.008,0,0
return
&lt;/PRE&gt;

Barry.</description>
      <pubDate>Tue, 03 Oct 2017 07:06:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233656#M5428</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-10-03T07:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dashed line to indicate cabinet swing interior elevation</title>
      <link>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233657#M5429</link>
      <description>Hi Barry - thank you but I think you misunderstood my question. I am wondering how to show door swings on cabinets in my interior elevations which are in 2D - not looking to do it in 3D. Thank you though.</description>
      <pubDate>Tue, 03 Oct 2017 15:01:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233657#M5429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-03T15:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dashed line to indicate cabinet swing interior elevation</title>
      <link>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233658#M5430</link>
      <description>One solution (sorry it isn't free) is to use the Cadimage cabinets, which DO show door swings in 2D elevations. Other than the price, it's actually a pretty good set of objects, although may take a bit of getting used to for U.S. folks with slightly different nomenclature like "upstand" rather than "backsplash."</description>
      <pubDate>Tue, 03 Oct 2017 15:35:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233658#M5430</guid>
      <dc:creator>Richard Morrison</dc:creator>
      <dc:date>2017-10-03T15:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dashed line to indicate cabinet swing interior elevation</title>
      <link>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233659#M5431</link>
      <description>OK thanks Richard I will look into it. Seems strange that such an easy feature to add isn't included with the cabinets. Is it very common to use 3rd party software with ArchiCAD?</description>
      <pubDate>Tue, 03 Oct 2017 15:49:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233659#M5431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-03T15:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dashed line to indicate cabinet swing interior elevation</title>
      <link>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233660#M5432</link>
      <description>&lt;BLOCKQUOTE&gt;SJPHouse wrote:&lt;BR /&gt;Is it very common to use 3rd party software with ArchiCAD?&lt;/BLOCKQUOTE&gt;
I don't know if I would call it "very common" to use 3rd party software, but the programs (and there aren't really that many out there) can make your life a lot easier. Many firms stay away from 3rd party programs, because once you commit, you are looking at many upgrades down the road. But there are things that are just SO much easier with Cadimage tools, that it's hard to break away. Curved panel cabinet doors, Spanish tile roofing with gutters and downspouts, keynotes, etc., are all possible without the specialized tools, but they take so much more work doing it all yourself that it seems like a few hundred extra dollars a year is worth it if you are likely to use them.</description>
      <pubDate>Tue, 03 Oct 2017 16:07:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233660#M5432</guid>
      <dc:creator>Richard Morrison</dc:creator>
      <dc:date>2017-10-03T16:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dashed line to indicate cabinet swing interior elevation</title>
      <link>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233661#M5433</link>
      <description>Thanks Richard I'll check them out &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Wed, 04 Oct 2017 01:07:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233661#M5433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-04T01:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dashed line to indicate cabinet swing interior elevation</title>
      <link>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233662#M5434</link>
      <description>&lt;BLOCKQUOTE&gt;SJPHouse wrote:&lt;BR /&gt;Hi Barry - thank you but I think you misunderstood my question. I am wondering how to show door swings on cabinets in my interior elevations which are in 2D - not looking to do it in 3D. Thank you though.&lt;/BLOCKQUOTE&gt;

Your elevation is simply a square on projection of the 3D model.&lt;BR /&gt;
What you see in 3D is what you will see in elevation.&lt;BR /&gt;
You will need to script the lines in the 3D script to see them in elevation.&lt;BR /&gt;
It is possible to script them so they only show in elevation views and not in 3D though based on the view type.&lt;BR /&gt;
&lt;BR /&gt;
So you either need to script it into your object or find one that already does this (such as Cadimage cabinets).&lt;BR /&gt;
&lt;BR /&gt;
I am surprised the GS objects don't seem to have this option already.&lt;BR /&gt;
I don't use them so have never noticed.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Wed, 04 Oct 2017 02:04:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233662#M5434</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-10-04T02:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dashed line to indicate cabinet swing interior elevations?</title>
      <link>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233663#M5435</link>
      <description>I have also wonder how and if Graphisoft will ever add this option just like the Door/Window opening lines.&lt;BR /&gt;
&lt;BR /&gt;
Barry, I'm also interested in learning how can you add the dash line to show in Elevations/Sections, 3D view can be an option if needed? Once I learn a bit more I want to aim for learning how to make a universal cabinet in GDL that is given a specific length, you can add division based on length. &lt;BR /&gt;
&lt;BR /&gt;
Here is an example:&lt;BR /&gt;
&lt;IMG src="https://filedn.com/lQfXW4xfMSGYcQCARkmM2KQ/example.jpg" /&gt;</description>
      <pubDate>Tue, 19 May 2020 19:15:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233663#M5435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-19T19:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dashed line to indicate cabinet swing interior elevations?</title>
      <link>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233664#M5436</link>
      <description>&lt;BLOCKQUOTE&gt;ArchR wrote:&lt;BR /&gt;
Barry, I'm also interested in learning how can you add the dash line to show in Elevations/Sections, 3D view can be an option if needed? 
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
It is just a matter of knowing the start and end points of the line and then GOSUBing to the code I showed before.&lt;BR /&gt;
So as each door on the cabinet is modelled, you GOSUB to the line routine with the correct start and end co-ordinates.&lt;BR /&gt;
You can use the GLOB_VIEW_TYPE to determine the view the object is in and can turn the line on or off accordingly.&lt;BR /&gt;
&lt;BR /&gt;
You will need to know a bit about GDL scripting to do all this of course.&lt;BR /&gt;
&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;ArchR wrote:&lt;BR /&gt;
Here is an example:
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
Your image link is not working.&lt;BR /&gt;
It is best to attach an image with the 'Upload Attachment' tab below the 'Submit' button when you create a post/reply.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Wed, 20 May 2020 01:14:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dashed-line-to-indicate-cabinet-swing-interior-elevations/m-p/233664#M5436</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2020-05-20T01:14:42Z</dc:date>
    </item>
  </channel>
</rss>

