<?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: Export image crops outer pixels in Revit MEP Forum</title>
    <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11352036#M17144</link>
    <description>&lt;P&gt;Actually, now I am thinking of it, no matter what, I will need to use the export image function at some level (I looked into the archi-lab dynamo exporter tool and it's basically what I already found/programmed) and the export image function is limited by ZoomType enumeration. I need to implement something that turns on the cropped view parameter, adjusts it to fit the family and then increases its size by a small factor. Essentially, someone who knows how to program dynamo nodes would need to turn this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;drafting.CropBoxActive = true;
drafting.CropBoxVisible = true;

private static void ExtendViewCrop(View drafting, Group detail)
        {
            BoundingBoxXYZ crop = (drafting!= null ? drafting.CropBox : null);
            if (crop == null || crop.Max == null || crop.Min == null || crop.Transform == null || detail == null)
                return;
            BoundingBoxXYZ detailBox = detail.get_BoundingBox(drafting);
            BoundingBoxXYZ extendedCrop = new BoundingBoxXYZ();
            extendedCrop.Transform = crop.Transform;

            if (detailBox == null || detailBox.Max == null || detailBox.Min == null)
                return;

            extendedCrop.Max = detailBox.Max + (extendedCrop.Transform.BasisX + extendedCrop.Transform.BasisY / 2) * 0.03;
            extendedCrop.Min = detailBox.Min + (-extendedCrop.Transform.BasisX + -extendedCrop.Transform.BasisY / 2) * 0.03;
            drafting.CropBox = extendedCrop;
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;into a dynamo node. I do not know how to do that. In addition, this code was written to handle a group, not a family view. I am also not sure what kind of instance "drafting" is. I assume it is an variable of type Document, but I could be wrong.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 19:25:47 GMT</pubDate>
    <dc:creator>Iev60047</dc:creator>
    <dc:date>2022-08-10T19:25:47Z</dc:date>
    <item>
      <title>Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11347043#M17140</link>
      <description>&lt;P&gt;This issue is fairly well documented on the Revit API forums, but as I have literally 0 idea about how to code in C#, I figure I post it here to see if there is a manual solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically I am exporting an image from a family editor view, and sometimes the outermost pixel on a family gets cropped out. This is problematic because:&lt;/P&gt;&lt;P&gt;1) I want to systematically export images from families I use to create exact width images for use in a schedule to create a new legend and&lt;/P&gt;&lt;P&gt;2) Takes much more time to manually adjust the crop view to create an inexact image export.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any suggestions about how to solve this? I have some C# code from the Revit forum but have no idea how to use it.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 18:28:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11347043#M17140</guid>
      <dc:creator>Iev60047</dc:creator>
      <dc:date>2022-08-08T18:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11347132#M17141</link>
      <description>&lt;P&gt;You could try it with Dynamo. My first rough idea about the script would be something like this:&lt;/P&gt;
&lt;P&gt;Manually:&lt;/P&gt;
&lt;P&gt;-Start a new Revit project (maybe special prepared template)&lt;/P&gt;
&lt;P&gt;-Load in all the families needed for images.&lt;/P&gt;
&lt;P&gt;-Create a view with settings&amp;nbsp; as you prefer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then run the script which does:&lt;/P&gt;
&lt;P&gt;1-Place the family isntance on a location so it is visible in the view&lt;/P&gt;
&lt;P&gt;2-If the sizes vary you might think to calculate the size of the family instance (boundingbox)&lt;/P&gt;
&lt;P&gt;3-Change the scale of the view to fit the family instance&lt;/P&gt;
&lt;P&gt;4-Export image to folder&lt;/P&gt;
&lt;P&gt;5-Delete the family instance&lt;/P&gt;
&lt;P&gt;6-Go back to step 1 and place the next one. Repeat until finished.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not tested it, so not sure if it will work like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 19:12:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11347132#M17141</guid>
      <dc:creator>L.Maas</dc:creator>
      <dc:date>2022-08-08T19:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11347473#M17142</link>
      <description>&lt;P&gt;&lt;A href="https://archi-lab.net/image-exporter-for-dynamo/" target="_blank"&gt;https://archi-lab.net/image-exporter-for-dynamo/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A nice little blog entry on the export node in the archilab package. It looks like scale-to-fit and image width are both options within the (long) list of input nodes, but this is probably a good starting point for a Dynamo-based method.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 22:50:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11347473#M17142</guid>
      <dc:creator>RLY_15</dc:creator>
      <dc:date>2022-08-08T22:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11351608#M17143</link>
      <description>&lt;P&gt;I am continuing this thread from the other thread that I accidentally cross-posted &lt;A href="https://forums.autodesk.com/t5/revit-architecture-forum/export-image-crops-outer-pixels/m-p/11351383#M365169" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. I apologize. In response to&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10364294"&gt;@EATREVITPOOPCAD&lt;/a&gt;&amp;nbsp;, changing the export range did not help resolve the issue. In fact the pixels disappearing (being cropped out) appeared on the opposite sides of the model. This is leading me to think that this is a bug. I am posting two pictures of what I mean.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1014093"&gt;@L.Maas&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9962189"&gt;@RLY_15&lt;/a&gt;&amp;nbsp;I honestly don't have too much experience with Dynamo but I'll give it my best shot. I was told by&amp;nbsp;@jeremy.tammik simply to bring this issue up to Revit development's attention, because if I can't do this task manually, then I shouldn't try to code my own work-around in.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 16:16:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11351608#M17143</guid>
      <dc:creator>Iev60047</dc:creator>
      <dc:date>2022-08-10T16:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11352036#M17144</link>
      <description>&lt;P&gt;Actually, now I am thinking of it, no matter what, I will need to use the export image function at some level (I looked into the archi-lab dynamo exporter tool and it's basically what I already found/programmed) and the export image function is limited by ZoomType enumeration. I need to implement something that turns on the cropped view parameter, adjusts it to fit the family and then increases its size by a small factor. Essentially, someone who knows how to program dynamo nodes would need to turn this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;drafting.CropBoxActive = true;
drafting.CropBoxVisible = true;

private static void ExtendViewCrop(View drafting, Group detail)
        {
            BoundingBoxXYZ crop = (drafting!= null ? drafting.CropBox : null);
            if (crop == null || crop.Max == null || crop.Min == null || crop.Transform == null || detail == null)
                return;
            BoundingBoxXYZ detailBox = detail.get_BoundingBox(drafting);
            BoundingBoxXYZ extendedCrop = new BoundingBoxXYZ();
            extendedCrop.Transform = crop.Transform;

            if (detailBox == null || detailBox.Max == null || detailBox.Min == null)
                return;

            extendedCrop.Max = detailBox.Max + (extendedCrop.Transform.BasisX + extendedCrop.Transform.BasisY / 2) * 0.03;
            extendedCrop.Min = detailBox.Min + (-extendedCrop.Transform.BasisX + -extendedCrop.Transform.BasisY / 2) * 0.03;
            drafting.CropBox = extendedCrop;
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;into a dynamo node. I do not know how to do that. In addition, this code was written to handle a group, not a family view. I am also not sure what kind of instance "drafting" is. I assume it is an variable of type Document, but I could be wrong.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 19:25:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11352036#M17144</guid>
      <dc:creator>Iev60047</dc:creator>
      <dc:date>2022-08-10T19:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11352304#M17145</link>
      <description>&lt;P&gt;Here a very basic implementation in Dynamo.&lt;/P&gt;
&lt;P&gt;-Select the view.&lt;/P&gt;
&lt;P&gt;-Select the object(s).&lt;/P&gt;
&lt;P&gt;-Find the bounding box around the object(s)&lt;/P&gt;
&lt;P&gt;-Set the crop view to the size of the bounding box.&lt;/P&gt;
&lt;P&gt;-Export the view as image to a file in a directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is an already functioning script, however limited it is yet.&lt;/P&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="LMaas_1-1660166705599.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1102596iF68997E60CCA55EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LMaas_1-1660166705599.png" alt="LMaas_1-1660166705599.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can increase the complexity of this script to get the behaviour you want. You can do things like increase the size of the crop view. Instead of a single item you can repeat the process with a list of items. Maybe you want extend it that the script first places the object somewhere before starting the process.&lt;/P&gt;
&lt;P&gt;All depending on how you set up your project and which parts you want to automate.&lt;/P&gt;
&lt;P&gt;Start simpe and then slowly extend it as needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are lucky you do not have to program anything new and just use the nodes available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 21:34:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11352304#M17145</guid>
      <dc:creator>L.Maas</dc:creator>
      <dc:date>2022-08-10T21:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11352501#M17146</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1014093"&gt;@L.Maas&lt;/a&gt;&amp;nbsp;Thanks once again! Figured out how to use dynamo! Now running into problems again. It seems that when I redefine the bounding box to feed into creating a new setcropbox function, it throws up an error. I have no idea how to solve it. The original bounding box doesn't have problem in creating a new setcropregion. In fact, when I deconstruct and reconstruct the original bounding box for some reason the View.SetCropBox node breaks down again, even though the bounding box is&amp;nbsp;&lt;EM&gt;exactly the same.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Export_Image.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1102637i6E8DDE950571FA2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Export_Image.png" alt="Export_Image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Oh lordy, am I getting frustrated. I am attaching the dynamo file. As soon as I can figure this out, it will be a major hurdle surpassed in the right direction.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 23:35:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11352501#M17146</guid>
      <dc:creator>Iev60047</dc:creator>
      <dc:date>2022-08-10T23:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11352810#M17147</link>
      <description>&lt;P&gt;Hmm, no matter what I try, I am not able to set the cropregion to a boundingbox. I think it may have something to do with the create boundingbox by corners node. At what point can I report a bug?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 04:14:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11352810#M17147</guid>
      <dc:creator>Iev60047</dc:creator>
      <dc:date>2022-08-11T04:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11352954#M17148</link>
      <description>&lt;P&gt;What is the error message which displays above the yellow node when you expand the stickynote?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 06:16:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11352954#M17148</guid>
      <dc:creator>iainsavage</dc:creator>
      <dc:date>2022-08-11T06:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11352965#M17149</link>
      <description>&lt;P&gt;I don't know if this is the problem but at the left side of the script you've got max point at the top, min at the bottom but at the right side you've got them the other way around so the error is possibly that you have max less than min as you feed into the last node?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 06:25:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11352965#M17149</guid>
      <dc:creator>iainsavage</dc:creator>
      <dc:date>2022-08-11T06:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353163#M17150</link>
      <description>&lt;P&gt;See the same issue. Take a quick look, but did not dind the cause.&lt;/P&gt;
&lt;P&gt;Decided to look at different approach. Used view.setcropboxcurves, it is from MEPover package.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: Always mark when you use external packages. People without that package installed might find it difficult to find from which package it is coming.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&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="LMaas_0-1660207303377.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1102758iAEA14F4D2640962D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LMaas_0-1660207303377.png" alt="LMaas_0-1660207303377.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In these types of script it is better to set the run mode to Manual instead of Automatic&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LMaas_1-1660207750502.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1102759iFC788C16094118CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LMaas_1-1660207750502.png" alt="LMaas_1-1660207750502.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 08:50:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353163#M17150</guid>
      <dc:creator>L.Maas</dc:creator>
      <dc:date>2022-08-11T08:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353544#M17151</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1014093"&gt;@L.Maas&lt;/a&gt;&amp;nbsp;for the assistance again. Yes, I tried that script out, but it seems the problem is that the MEPover library node &lt;EM&gt;SetCropBoxCurves&amp;nbsp;&lt;/EM&gt;does not change the view crop region. In fact, besides the blue outline that appears with the geometry preview, I do not know what the cropbox actually means. I tried this out with the ExportImage plugin from Archi-lab. The ExportImage node recognizes th elight blue lines in the preview, but when I turn the preview off, the recognition of the "border" stops.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/574878"&gt;@iainsavage&lt;/a&gt;&amp;nbsp;The error that occurs when I try to set the crop box is a null object error.&lt;/P&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="Iev60047_0-1660221438181.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1102830i6E9A531B1E3A8FB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Iev60047_0-1660221438181.png" alt="Iev60047_0-1660221438181.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Edit: To clarify I end up with this result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Iev60047_1-1660221920281.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1102835iD1DB790589F939F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Iev60047_1-1660221920281.png" alt="Iev60047_1-1660221920281.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 12:45:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353544#M17151</guid>
      <dc:creator>Iev60047</dc:creator>
      <dc:date>2022-08-11T12:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353578#M17152</link>
      <description>&lt;P&gt;Did you correct this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="iainsavage_0-1660221976764.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1102837iFFA1B741C5924EA7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="iainsavage_0-1660221976764.png" alt="iainsavage_0-1660221976764.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 12:46:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353578#M17152</guid>
      <dc:creator>iainsavage</dc:creator>
      <dc:date>2022-08-11T12:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353584#M17153</link>
      <description>&lt;P&gt;Yup! Min and max are fixed, thanks for that. Here is the current dynamo graph.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_Image_2022-08-11_08-47-18.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1102839iAA92BC165858AF1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture_Image_2022-08-11_08-47-18.png" alt="Capture_Image_2022-08-11_08-47-18.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 12:48:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353584#M17153</guid>
      <dc:creator>Iev60047</dc:creator>
      <dc:date>2022-08-11T12:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353638#M17154</link>
      <description>&lt;P&gt;This is the "crop box" in Revit&lt;/P&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="LMaas_0-1660223108291.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1102844i06DBF54B51A9BEFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LMaas_0-1660223108291.png" alt="LMaas_0-1660223108291.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When actrivated it hides the elements outside that box (the annotation crop is to hide some annotation elements)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you see something blue highlighted in Revit it means that it is selected or it might be a preview from Dynamo&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LMaas_1-1660223400028.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1102846iB9995787DF598C5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LMaas_1-1660223400028.png" alt="LMaas_1-1660223400028.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 13:10:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353638#M17154</guid>
      <dc:creator>L.Maas</dc:creator>
      <dc:date>2022-08-11T13:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353643#M17155</link>
      <description>&lt;P&gt;Okay, then the setboxbycurves, is not setting the crop box appropriately. That picture I submitted above, is when I hovered over the air terminal. It's funny because the crop box created by setcropbox actually hide the element.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 13:13:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353643#M17155</guid>
      <dc:creator>Iev60047</dc:creator>
      <dc:date>2022-08-11T13:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353701#M17156</link>
      <description>&lt;P&gt;Ok, not sure what is going on&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is in my case with 50 and 500 offset.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LMaas_0-1660224197734.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1102877iBD3C96359E5E70A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LMaas_0-1660224197734.png" alt="LMaas_0-1660224197734.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LMaas_1-1660224253554.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1102878iFFD21A45A72E38B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LMaas_1-1660224253554.png" alt="LMaas_1-1660224253554.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 13:25:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353701#M17156</guid>
      <dc:creator>L.Maas</dc:creator>
      <dc:date>2022-08-11T13:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353723#M17157</link>
      <description>&lt;P&gt;Weird! I cannot figure that one out.&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1014093"&gt;@L.Maas&lt;/a&gt;&amp;nbsp;I can see from your picture that your crop region is lining up with the curves used by setcropboxbycurve. That is not the case for me.&amp;nbsp;But I just got it to work when I converted the modified bounding box into a polysurface and back into a bounding box! This was a long time coming.&amp;nbsp;Would you mind sharing the revit file, the dynamo script and successful run picture of your dynamo graph? I realize that I was in imperial units which was probably making things act weird. I can then test it, and verify what exactly is going wrong on my end.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching the function (not cleaned up), graph and revit file I used.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 13:33:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353723#M17157</guid>
      <dc:creator>Iev60047</dc:creator>
      <dc:date>2022-08-11T13:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353782#M17158</link>
      <description>&lt;P&gt;It is based on the standard (metric) Autodesk Mechanical Template from Revit 2022.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 13:49:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353782#M17158</guid>
      <dc:creator>L.Maas</dc:creator>
      <dc:date>2022-08-11T13:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Export image crops outer pixels</title>
      <link>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353844#M17159</link>
      <description>&lt;P&gt;I accepted my last post as the solution, just because I have not been able to run anything else that accomplished my objective. But if I do, I will be sure to note their dynamo code works as well!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 14:13:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-mep-forum/export-image-crops-outer-pixels/m-p/11353844#M17159</guid>
      <dc:creator>Iev60047</dc:creator>
      <dc:date>2022-08-11T14:13:07Z</dc:date>
    </item>
  </channel>
</rss>

