<?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 Revision Cloud inversion in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/revision-cloud-inversion/m-p/10437953#M24980</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;When using the API to create a rectangular Revision Cloud, I ran into the problem of Revision Cloud inversion.&lt;BR /&gt;The position of the IndependentTag in the diagram is the first point of the Revision Cloud, and the diagonal is the second point.&lt;BR /&gt;I think it is the direction of Line that causes this problem, but how should I judge or deal with the direction of Line? How do I pick or compute the four points?&lt;BR /&gt;thank you&lt;BR /&gt;love you&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-07-02_155806.png" style="width: 826px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/936951iC3C6E431AB51E1F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-07-02_155806.png" alt="2021-07-02_155806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;                var fPoint = selection.PickPoint();
                var sPoint = selection.PickPoint();

                var tPoint = new XYZ(sPoint.X, fPoint.Y, fPoint.Z);
                var foPoint = new XYZ(fPoint.X, sPoint.Y, sPoint.Z);


                var bian1 = Line.CreateBound(fPoint, tPoint);
                var bian2 = Line.CreateBound(tPoint, sPoint);
                var bian3 = Line.CreateBound(sPoint, foPoint);
                var bian4 = Line.CreateBound(foPoint, fPoint);

                List&amp;lt;Curve&amp;gt; lines = new List&amp;lt;Curve&amp;gt;() { bian1, bian2, bian3, bian4 };

                var newRevisionCloud = RevisionCloud.Create(doc, doc.ActiveView, revision.Id, lines);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jul 2021 08:20:49 GMT</pubDate>
    <dc:creator>SimonaQQ</dc:creator>
    <dc:date>2021-07-02T08:20:49Z</dc:date>
    <item>
      <title>Revision Cloud inversion</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revision-cloud-inversion/m-p/10437953#M24980</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;When using the API to create a rectangular Revision Cloud, I ran into the problem of Revision Cloud inversion.&lt;BR /&gt;The position of the IndependentTag in the diagram is the first point of the Revision Cloud, and the diagonal is the second point.&lt;BR /&gt;I think it is the direction of Line that causes this problem, but how should I judge or deal with the direction of Line? How do I pick or compute the four points?&lt;BR /&gt;thank you&lt;BR /&gt;love you&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-07-02_155806.png" style="width: 826px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/936951iC3C6E431AB51E1F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-07-02_155806.png" alt="2021-07-02_155806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;                var fPoint = selection.PickPoint();
                var sPoint = selection.PickPoint();

                var tPoint = new XYZ(sPoint.X, fPoint.Y, fPoint.Z);
                var foPoint = new XYZ(fPoint.X, sPoint.Y, sPoint.Z);


                var bian1 = Line.CreateBound(fPoint, tPoint);
                var bian2 = Line.CreateBound(tPoint, sPoint);
                var bian3 = Line.CreateBound(sPoint, foPoint);
                var bian4 = Line.CreateBound(foPoint, fPoint);

                List&amp;lt;Curve&amp;gt; lines = new List&amp;lt;Curve&amp;gt;() { bian1, bian2, bian3, bian4 };

                var newRevisionCloud = RevisionCloud.Create(doc, doc.ActiveView, revision.Id, lines);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 08:20:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revision-cloud-inversion/m-p/10437953#M24980</guid>
      <dc:creator>SimonaQQ</dc:creator>
      <dc:date>2021-07-02T08:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Revision Cloud inversion</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revision-cloud-inversion/m-p/10438156#M24981</link>
      <description>&lt;P&gt;That is clearly documented in the Revit API docs that Richard and I pointed out to you yesterday:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2021.1/090c0da6-db59-d1e6-5dcf-4335c531ee9f.htm" target="_blank"&gt;https://www.revitapidocs.com/2021.1/090c0da6-db59-d1e6-5dcf-4335c531ee9f.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="remarksSection" class="section"&gt;
&lt;P&gt;&amp;gt; The cloud graphics will be attached to the curves under the assumption that &lt;U&gt;&lt;STRONG&gt;each curve is oriented in a clockwise direction&lt;/STRONG&gt;&lt;/U&gt;. For lines, this means that the outside of the cloud is in the direction of the line's normal vector within the View's plane. Any closed loops should therefore be oriented clockwise to create the typical cloud shape.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Jul 2021 09:53:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revision-cloud-inversion/m-p/10438156#M24981</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2021-07-02T09:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Revision Cloud inversion</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revision-cloud-inversion/m-p/10438925#M24982</link>
      <description>&lt;P&gt;It is actually important to be able to invert a cloud as this is often used to represent an abeyance/hold region of a drawing. I think it is common practice although probably nobody can find the code of practice that dictates such use of clouds. I would set out that explicitly to avoid the 'I don't know what an abeyance cloud is' debate we sometimes experienced with other parties.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 15:10:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revision-cloud-inversion/m-p/10438925#M24982</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2021-07-02T15:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Revision Cloud inversion</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revision-cloud-inversion/m-p/10440343#M24983</link>
      <description>Thank you&lt;BR /&gt;According to your instructions, I solved the problem by judging whether the three dots are in a clockwise direction.</description>
      <pubDate>Sat, 03 Jul 2021 08:16:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revision-cloud-inversion/m-p/10440343#M24983</guid>
      <dc:creator>SimonaQQ</dc:creator>
      <dc:date>2021-07-03T08:16:23Z</dc:date>
    </item>
  </channel>
</rss>

