<?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: Get Wall Location Line (from joined wall) in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/get-wall-location-line-from-joined-wall/m-p/6841421#M60620</link>
    <description>&lt;P&gt;In the case you show, you can subtract a vector from the end of the line, presumably with a length half the neighbouring wall width.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jan 2017 20:02:31 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2017-01-30T20:02:31Z</dc:date>
    <item>
      <title>Get Wall Location Line (from joined wall)</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-wall-location-line-from-joined-wall/m-p/6840102#M60617</link>
      <description>&lt;PRE&gt; public Line GetWallLocation(Document doc, Wall wall)
        {
            Line line = null;

            LocationCurve locationCurve = wall.Location as LocationCurve;
            Curve curve = locationCurve.Curve;

            line = curve as Line;

            using (Transaction t = new Transaction(doc, "Create"))
            {
                t.Start();
                DetailCurve dc = doc.Create.NewDetailCurve(doc.ActiveView, line);
                t.Commit();
            }

            return line;
        }&lt;/PRE&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="2017-01-30_15-59-24.jpg" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/316970iEFAC8E4219DE80B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-01-30_15-59-24.jpg" alt="2017-01-30_15-59-24.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;I want to get location lines like in second picture.&lt;/P&gt;&lt;P&gt;How can i do that ?&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 13:17:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-wall-location-line-from-joined-wall/m-p/6840102#M60617</guid>
      <dc:creator>desdinova</dc:creator>
      <dc:date>2017-01-30T13:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get Wall Location Line (from joined wall)</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-wall-location-line-from-joined-wall/m-p/6841370#M60618</link>
      <description>&lt;P&gt;Dear Desdinova,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't understand your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does 'get these lines' exactly mean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code that you show might do just what you are asking, depending on how you use it and what you mean by that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there more to it than I currently see?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 19:44:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-wall-location-line-from-joined-wall/m-p/6841370#M60618</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-01-30T19:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get Wall Location Line (from joined wall)</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-wall-location-line-from-joined-wall/m-p/6841405#M60619</link>
      <description>&lt;P&gt;Dear Jeremy&lt;/P&gt;&lt;P&gt;I want to get the line in second picture.&lt;/P&gt;&lt;P&gt;The location curve returns line in first picture&lt;/P&gt;&lt;P&gt;.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-01-30_15-59-24.jpg" style="width: 608px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/317155i6D261BB2BB5CD42A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-01-30_15-59-24.jpg" alt="2017-01-30_15-59-24.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 19:58:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-wall-location-line-from-joined-wall/m-p/6841405#M60619</guid>
      <dc:creator>desdinova</dc:creator>
      <dc:date>2017-01-30T19:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get Wall Location Line (from joined wall)</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-wall-location-line-from-joined-wall/m-p/6841421#M60620</link>
      <description>&lt;P&gt;In the case you show, you can subtract a vector from the end of the line, presumably with a length half the neighbouring wall width.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 20:02:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-wall-location-line-from-joined-wall/m-p/6841421#M60620</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-01-30T20:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get Wall Location Line (from joined wall)</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-wall-location-line-from-joined-wall/m-p/6841859#M60621</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I never thought it would be that easy...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 22:32:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-wall-location-line-from-joined-wall/m-p/6841859#M60621</guid>
      <dc:creator>desdinova</dc:creator>
      <dc:date>2017-01-30T22:32:29Z</dc:date>
    </item>
  </channel>
</rss>

