<?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 Can't see new SketchPlane in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/can-t-see-new-sketchplane/m-p/9794284#M31201</link>
    <description>&lt;P&gt;Hello everyone! Trying to create a new SketchPlane with this code&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;            using (Transaction tx = new Transaction(doc)) {
                tx.Start("Start");

                View activeView = uidoc.ActiveGraphicalView;

                SketchPlane sketch = activeView.SketchPlane;
                XYZ direction = activeView.ViewDirection;
                XYZ origin = activeView.Origin;
                Plane plane = Plane.CreateByNormalAndOrigin(activeView.ViewDirection, activeView.Origin);
                sketch = SketchPlane.Create(uidoc.Document, plane);
                activeView.ShowActiveWorkPlane();
                tx.Commit();
            
            }&lt;/LI-CODE&gt;&lt;P&gt;But I don't see anything in one of projects in revit, but expect that I see something like this blue square on background.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="17000137_0-1602260779071.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/829413i976B8432132B92F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="17000137_0-1602260779071.png" alt="17000137_0-1602260779071.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So what I do wrong that in one project I can see&amp;nbsp; new SketchPlane but in another can't?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Oct 2020 16:29:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-10-09T16:29:08Z</dc:date>
    <item>
      <title>Can't see new SketchPlane</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/can-t-see-new-sketchplane/m-p/9794284#M31201</link>
      <description>&lt;P&gt;Hello everyone! Trying to create a new SketchPlane with this code&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;            using (Transaction tx = new Transaction(doc)) {
                tx.Start("Start");

                View activeView = uidoc.ActiveGraphicalView;

                SketchPlane sketch = activeView.SketchPlane;
                XYZ direction = activeView.ViewDirection;
                XYZ origin = activeView.Origin;
                Plane plane = Plane.CreateByNormalAndOrigin(activeView.ViewDirection, activeView.Origin);
                sketch = SketchPlane.Create(uidoc.Document, plane);
                activeView.ShowActiveWorkPlane();
                tx.Commit();
            
            }&lt;/LI-CODE&gt;&lt;P&gt;But I don't see anything in one of projects in revit, but expect that I see something like this blue square on background.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="17000137_0-1602260779071.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/829413i976B8432132B92F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="17000137_0-1602260779071.png" alt="17000137_0-1602260779071.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So what I do wrong that in one project I can see&amp;nbsp; new SketchPlane but in another can't?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 16:29:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/can-t-see-new-sketchplane/m-p/9794284#M31201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-09T16:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can't see new SketchPlane</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/can-t-see-new-sketchplane/m-p/9794331#M31202</link>
      <description>&lt;P&gt;Please explore your model in detail before and after creating your sketch plane using RevitLookup and other database exploration tools:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2017/01/virtues-of-reproduction-research-mep-settings-ontology.html#3" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2017/01/virtues-of-reproduction-research-mep-settings-ontology.html#3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you will see more of what is going on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should also make a note of the newly created sketch plane's element id so that you can examine the new element in more detail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 17:03:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/can-t-see-new-sketchplane/m-p/9794331#M31202</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-10-09T17:03:40Z</dc:date>
    </item>
  </channel>
</rss>

