<?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: CreateViaOffset(CurveLoop original,IList&amp;lt;double&amp;gt; offsetDists,XYZ norma in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9204887#M37976</link>
    <description>&lt;P&gt;Dear Stephen,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, they suggest using a moderate percentage of the wall thickness, I believe, e.g., 10-20%. I guess that for your needs, 110-120% is required. They also say that they tested it that way, and it worked well, offsetting both inwards and outwards. The sample code that they provided was extracted from some internal Revit module and is thus not present in the SDK nor restricted to using the public API. It just shows an example of using the method, regardless of where the input comes from.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll try out this percentage thingy on your sample models and see how I fare.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wish you a pleasant time during your absence in the next few weeks.&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;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2019 16:07:55 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2019-12-16T16:07:55Z</dc:date>
    <item>
      <title>CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ normal</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9196659#M37968</link>
      <description>&lt;P&gt;I hope someone can help.&lt;/P&gt;&lt;P&gt;I have raised a previous post regarding Generating Views from rooms but feel that has probably run its course.&lt;/P&gt;&lt;P&gt;The problem I now face is how to follow the outer face of the wall were the wall changes thickness over its length and when room separators are utilised.&lt;/P&gt;&lt;P&gt;When the walls step back like image 1 there is an error “Curve loop couldn't be properly trimmed”.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image1.png" style="width: 382px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/706987iAB01C4603AB199EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Image1.png" alt="Image1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regarding room separators, the problems occur when the separator is as image 2, Error “Curve loop couldn't be properly trimmed”.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image2.png" style="width: 213px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/706988iB1BEF83593E493F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Image2.png" alt="Image2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Situations like Images 3 there has been no errors so far!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image3.png" style="width: 294px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/706989i50FD82D3D18EDF27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Image3.png" alt="Image3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am working in c# with Revit 2020 and utilising the following to create the offset:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CreateViaOffset(&lt;A href="mk:@MSITStore:C:\Revit%202020%20SDK\RevitAPI.chm::/html/84824924-cb89-9e20-de6e-3461f429dfd6.htm" target="_blank" rel="noopener"&gt;&lt;SPAN style="color: windowtext; text-decoration: none; text-underline: none;"&gt;CurveLoop&lt;/SPAN&gt;&lt;/A&gt; original,&lt;A href="http://msdn2.microsoft.com/en-us/library/5y536ey6" target="_blank" rel="noopener"&gt;&lt;SPAN style="color: windowtext; text-decoration: none; text-underline: none;"&gt;IList&lt;/SPAN&gt;&lt;/A&gt;&amp;lt;&lt;A href="http://msdn2.microsoft.com/en-us/library/643eft0t" target="_blank" rel="noopener"&gt;&lt;SPAN style="color: windowtext; text-decoration: none; text-underline: none;"&gt;double&lt;/SPAN&gt;&lt;/A&gt;&amp;gt; offsetDists,&lt;A href="mk:@MSITStore:C:\Revit%202020%20SDK\RevitAPI.chm::/html/c2fd995c-95c0-58fb-f5de-f3246cbc5600.htm" target="_blank" rel="noopener"&gt;&lt;SPAN style="color: windowtext; text-decoration: none; text-underline: none;"&gt;XYZ&lt;/SPAN&gt;&lt;/A&gt; normal)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IList&amp;lt;double&amp;gt; is the thickness of the surrounding walls and a standard set offset for the room separator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a problem with the API or is there a solution to my problem that I am missing.&lt;/P&gt;&lt;P&gt;Any assistance is much appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 17:37:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9196659#M37968</guid>
      <dc:creator>stephen_harrison</dc:creator>
      <dc:date>2019-12-11T17:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9198298#M37969</link>
      <description>&lt;P&gt;Please submit a minimal sample model with one single room and the code that exhibits the problematic behaviour so we can see what might be going wrong and possibly pass that on to the development team if more in-depth analysis is required:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 10:51:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9198298#M37969</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-12-12T10:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9199151#M37970</link>
      <description>&lt;P&gt;Thank you again for your assistance with this Jeremy.&lt;/P&gt;&lt;P&gt;Sample Revit room project and Code that is exhibiting the problems is attached.&lt;/P&gt;&lt;P&gt;You will recognise the code as it is the same code we were working on from an earlier post.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 16:50:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9199151#M37970</guid>
      <dc:creator>stephen_harrison</dc:creator>
      <dc:date>2019-12-12T16:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9199244#M37971</link>
      <description>&lt;P&gt;I integrated and cleaned up your code in &lt;A href="https://github.com/jeremytammik/CropViewToRoom/releases/tag/2020.0.0.2" target="_blank" rel="noopener"&gt;CropViewToRoom release 2020.0.0.2&lt;/A&gt; for further analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 17:20:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9199244#M37971</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-12-12T17:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9199358#M37972</link>
      <description>&lt;P&gt;OK, well, I have not solved it yet, but at least uncovered one definite problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the room separator model, the curve loop that you assemble has 11 elements, whereas the wall thickness list only has 10. That obviously causes a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I implemented a new method CreateModelCurves that creates a set of model curves to display the curve loop. The result for the room separator model looks like this:&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-center" image-alt="Room separator model curve loop" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/707483i6622BF1B470796D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="room_separator_loop.png" alt="Room separator model curve loop" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Room separator model curve loop&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The new code is in the repository:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/jeremytammik/CropViewToRoom" target="_blank"&gt;https://github.com/jeremytammik/CropViewToRoom&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please do not copy it out as a zip file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead, clone the repo to your local file system, apply whatever changes you make, and submit a pull request for me to integrate them back into the repo. That will save unnecessary copying back and forth and manual integration on my side. It also adds useful information tracking of your commits to see what you change and why.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I leave it up to you to figure out where that extra segment is coming from, what it represents, and how to deal with the wall thickness for that one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe that will help sort out the other issue as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I reproduced the exception you mentioned creating the offset loop for the wall thickness model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll ask the development team for a usage example of the method to see what we might be doing wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 18:11:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9199358#M37972</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-12-12T18:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9199766#M37973</link>
      <description>&lt;P&gt;Here is the &lt;A href="https://autodesk.slack.com/archives/C0SR6NAP8/p1576185616111700" target="_blank" rel="noopener"&gt;question&lt;/A&gt; I passed to the development team:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;I am having trouble using the CreateViaOffset method taking a list of doubles for different offsets:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2020/3097f423-9b0e-5496-bae2-3a82b6875414.htm" target="_blank"&gt;https://www.revitapidocs.com/2020/3097f423-9b0e-5496-bae2-3a82b6875414.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide a simple sample showing how to use this method?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested it passing in five curves representing the following five walls:&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-center" image-alt="Rectangular room with five walls" style="width: 374px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/707550i53CE926044CBF18C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wall_width_error_rvt.png" alt="Rectangular room with five walls" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Rectangular room with five walls&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Starting with the bottom horizontal wall and moving counterclockwise to the right, top two and left, I pass in five straight line segment curves and curves and the corresponding five offset distances:&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;5 curves with lengths 9.19,9.51,3.61,5.58,9.51 and 5 thicknesses 1.08,.43,.43,.76,1.08&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This call throws an `Autodesk.Revit.Exceptions.InvalidOperationException` saying 'Curve loop couldn't be properly trimmed.'&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>Thu, 12 Dec 2019 21:24:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9199766#M37973</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-12-12T21:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9202756#M37974</link>
      <description>&lt;P&gt;I received an answer and a solution from the development team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you take a look at it in the draft blog post, please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://jeremytammik.github.io/tbc/a/1807_createviaoffset.html#3" target="_blank"&gt;http://jeremytammik.github.io/tbc/a/1807_createviaoffset.html#3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Save me copying it here...&amp;nbsp; Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2019 21:45:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9202756#M37974</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-12-14T21:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9204084#M37975</link>
      <description>&lt;P&gt;Thank you again for your time and you patience in helping me resolve this issue. It is much appreciated.&lt;BR /&gt;I am currently away for a few weeks and not in a position to test out the suggestions outlined within your draft post however, I would make the following comments.&lt;BR /&gt;All my tests would suggest that the suspected short vertical were the walls meet is the problem. However, I make the following observations.&lt;BR /&gt;I have previously tried a fixed percentage based on the wall thickness instead of +0.1 but received the same error.&lt;BR /&gt;I have tried exaggerated the wall thickness difference substantially and still received the same error.&lt;/P&gt;&lt;P&gt;If I have understood the response from the development team correctly the solution they have proposed needs to be placed in a try catch as it may still fail and a therefore a more complex solution is required in this instance ? Is this alternative solution available through the API and if so how may it be implemented?&lt;/P&gt;&lt;P&gt;I have searched the Revit 2020 SDK sample code and unable to find an example utilising the sample code provided is the add-in code they reference available in some other sample code?&lt;/P&gt;&lt;P&gt;I am somewhat confused by the section of code below:&lt;/P&gt;&lt;PRE&gt;foreach( var curve in contour3D.curves )
  {
    polyCurves.Add( curve.asRevitCurve( 
      doc.Application ) );
  }&lt;/PRE&gt;&lt;P&gt;How is contour3D obtained and I assume asRevitCurve is an additional Method as I am unable to find any such reference within the SDK Help?&lt;/P&gt;&lt;P&gt;Once again thank you for your patience and assistance.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 09:54:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9204084#M37975</guid>
      <dc:creator>stephen_harrison</dc:creator>
      <dc:date>2019-12-16T09:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9204887#M37976</link>
      <description>&lt;P&gt;Dear Stephen,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, they suggest using a moderate percentage of the wall thickness, I believe, e.g., 10-20%. I guess that for your needs, 110-120% is required. They also say that they tested it that way, and it worked well, offsetting both inwards and outwards. The sample code that they provided was extracted from some internal Revit module and is thus not present in the SDK nor restricted to using the public API. It just shows an example of using the method, regardless of where the input comes from.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll try out this percentage thingy on your sample models and see how I fare.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wish you a pleasant time during your absence in the next few weeks.&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;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 16:07:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9204887#M37976</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-12-16T16:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9205016#M37977</link>
      <description>&lt;P&gt;Jeremy I forgot to mention I had chance to examine your latest code up date with the intention of identifying why there are 11 wall elements but only 10 thicknesses but the results I have obtained are as follows:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT&gt;normal&lt;BR /&gt;11 curves with lengths 10.02,6.04,4.11,5.58,.33,8.69,3.28,.16,3.44,.82,2.46 and&lt;BR /&gt;11 thicknesses 1.08,1.08,1.08,.76,.1,.43,.43,.1,.1,.1,1.08&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;-normal&lt;BR /&gt;11 curves with lengths 10.02,6.04,4.11,5.58,.33,8.69,3.28,.16,3.44,.82,2.46 and&lt;BR /&gt;11 thicknesses 1.08,1.08,1.08,.76,.1,.43,.43,.1,.1,.1,1.08&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;Regards&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;Stephen&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 16 Dec 2019 17:01:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9205016#M37977</guid>
      <dc:creator>stephen_harrison</dc:creator>
      <dc:date>2019-12-16T17:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9206324#M37978</link>
      <description>&lt;P&gt;Oh well how strange that I just saw ten instead of eleven. That prompted me to list those numbers in the debug output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, I tried to followed the devteam suggestion of using a percentage instead of a fixed additional offset, and it did not work for me at all. I tried both 110%, which would suit your needs, and 10%. In both cases, it still trows the InvalidOperationException saying 'loop couldn't be properly trimmed.'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe they tested on a more recent development version of Revit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I think it might be time to step away from CreateViaOffset for the time being.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the other hand, your goal is almost reached: you have the room boundary, the boundary element and the thickness, if it is a wall. From those, it is possible to create a curve loop tracing the outsides of the walls.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 08:10:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9206324#M37978</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-12-17T08:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9206438#M37979</link>
      <description>&lt;P&gt;Thank you for all your help Jeremy.&lt;/P&gt;&lt;P&gt;If you could bare with me this one last time?&lt;/P&gt;&lt;P&gt;I started to look at the possibility of tracing the outside of the walls several weeks ago when I was at a loss utilising&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;CreateViaOffset&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;I was finding it difficult to create the closed loop necessary, and particularly how I would achieve this were the wall thickness changes across its length.&lt;/P&gt;&lt;P&gt;Could you point me in the right direction, possibly some sample code that I could examine and see if I could get it to work to my requirements.&lt;/P&gt;&lt;P&gt;Hope you have a good festive season.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 09:22:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9206438#M37979</guid>
      <dc:creator>stephen_harrison</dc:creator>
      <dc:date>2019-12-17T09:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9206481#M37980</link>
      <description>&lt;P&gt;Sure, no problem. I'll do both: &lt;U&gt;bare&lt;/U&gt; with you and &lt;U&gt;bear&lt;/U&gt; with you&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see several possible approaches, based on:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Room boundary curves and wall thicknesses&lt;/LI&gt;
&lt;LI&gt;Room boundary curves and wall bottom face edges&lt;/LI&gt;
&lt;LI&gt;Projection of 3D union of room and wall solids&lt;/LI&gt;
&lt;LI&gt;2D union of room and wall footprints&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The most immediate and pure Revit API approach would be to get the curves representing the room boundaries, determine the wall thicknesses, offset the wall boundary curves outwards by wall thickness plus minimum offset, and ensure that everything is well connected by adding small connecting segments in the gaps where the offset jumps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Several slightly more complex&amp;nbsp;pure Revit API approaches could be designed by using the wall solids instead of just offsetting the room boundary curves based on the wall thickness. For instance, we could query the wall bottom face for its edges, determine and patch together all the bits of edge segments required to go around the outside of the wall instead of the inside.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Slightly more complex still, and still&amp;nbsp;pure Revit API: determine the room closed shell solid, unite it with all the wall solids, and make use of the extrusion analyser to project this union vertically onto the XY plane and grab its outside edge.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally, making use of a minimalistic yet powerful 2D Boolean operation library, perform the projection onto the XY plane first, and unite the room footprint with all its surrounding wall footprints in 2D instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The two latter approaches are both implemented in my&amp;nbsp;ElementOutline add-in:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/jeremytammik/ElementOutline" target="_blank" rel="noopener"&gt;https://github.com/jeremytammik/ElementOutline&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I mentioned it here in two previous threads:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Question regarding SVG data -- &lt;A href="https://forums.autodesk.com/t5/revit-api-forum/question-regarding-svg-data-from-revit/m-p/9106146" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/question-regarding-svg-data-from-revit/m-p/9106146&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;How do I get the outline and stakeout path of a built-in loft family -- &lt;A href="https://forums.autodesk.com/t5/revit-api-forum/how-do-i-get-the-outline-and-stakeout-path-of-a-built-in-loft/m-p/9148138" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/how-do-i-get-the-outline-and-stakeout-path-of-a-built-in-loft/m-p/9148138&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Probably all the pure Revit API approaches will run into various problematic exceptions cases, whereas the 2D Booleans seem very fast, reliable and robust and may well be able to handle all the exceptional cases that can possibly occur, so I would recommend trying that out first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this makes for a nice gift to you in this&amp;nbsp;festive season.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Happy advent!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 09:52:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9206481#M37980</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-12-17T09:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9209161#M37981</link>
      <description>&lt;P&gt;Published a summary of our results so far:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2019/12/dashboards-createviaoffset-and-room-outline-algorithms.html#3" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2019/12/dashboards-createviaoffset-and-room-outline-algorithms.html#3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the interesting explorations so far.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wish I had the time to implement the outer room outline algorithm myself as previously sketched out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you beat me to it, though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 11:21:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9209161#M37981</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-12-18T11:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9226539#M37982</link>
      <description>&lt;P&gt;Well, I seem to have beaten you to it after all:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/jeremytammik/ElementOutline/releases/tag/2020.0.1.2" target="_blank"&gt;https://github.com/jeremytammik/ElementOutline/releases/tag/2020.0.1.2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I make use of the 2D Boolean Clipper library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It successfully handles the wall width sample model:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="wall_width_loop_using_2d_booleans.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/712484iC6A31F5571728DE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wall_width_loop_using_2d_booleans.png" alt="wall_width_loop_using_2d_booleans.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It also gracefully handles the room separator situation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="room_separator_using_2d_booleans.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/712485iF30ACD05DA6610B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="room_separator_using_2d_booleans.png" alt="room_separator_using_2d_booleans.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Happy New Year!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2020 17:14:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9226539#M37982</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-01-01T17:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9247383#M37983</link>
      <description>&lt;P&gt;Jeremy&lt;/P&gt;&lt;P&gt;I hope you had a great seasonal break and a Happy New Year.&lt;/P&gt;&lt;P&gt;Apologies for not responding sooner but this is my first real opportunity to start looking at this again.&lt;/P&gt;&lt;P&gt;To be honest I was still working my way through the suggested&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: #f0f7e8; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;ElementOutline add-in&lt;/SPAN&gt; code in order to understand exactly how it was working before I attempted the solution.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; cursor: text; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Thank you so much for the solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; cursor: text; font-family: inherit; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 1.7142; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;At least that will all hopefully help my understand how your solution works!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Your time and patience is much appreciated.&lt;/P&gt;&lt;P&gt;I look forward to implementing this in my final programme.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 15:55:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9247383#M37983</guid>
      <dc:creator>stephen_harrison</dc:creator>
      <dc:date>2020-01-13T15:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9247506#M37984</link>
      <description>&lt;P&gt;Dear Stephen,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Happy New Year and welcome back.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your appreciation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, I believe that this is the most robust and foolproof approach and look forward to seeing how you can make use of it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ElementOutline add-in obviously only solves the outline part of the task, so it still needs combining with the&amp;nbsp;CropViewToRoom to implement the complete job.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 16:51:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9247506#M37984</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-01-13T16:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9252027#M37985</link>
      <description>&lt;P&gt;Jeremy&lt;/P&gt;&lt;P&gt;Thank you again for your assistance with this.&lt;/P&gt;&lt;P&gt;I have finally had a few moments to try out the solution and all appears to work well, with one exception. The instant doors windows etc are introduced the outline is not as expected.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Outline Door Error.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/717122iD115BD9AB5C70047/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Outline Door Error.png" alt="Outline Door Error.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Outline Window Error2.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/717121iB74E91873A91A75F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Outline Window Error2.png" alt="Outline Window Error2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Havent had a chance to explore reasons why and possible solution.&lt;/P&gt;&lt;P&gt;I was expected the introduction of the door or window to included a projection in the same way as the handle on the desk example&amp;nbsp;&lt;A href="https://thebuildingcoder.typepad.com/blog/2020/01/extrusion-analyser-and-2d-boolean-element-outline.html" target="_blank" rel="noopener"&gt;https://thebuildingcoder.typepad.com/blog/2020/01/extrusion-analyser-and-2d-boolean-element-outline.html&lt;/A&gt;&amp;nbsp; however it does appear to do something altogether differant?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 12:33:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9252027#M37985</guid>
      <dc:creator>stephen_harrison</dc:creator>
      <dc:date>2020-01-15T12:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9252903#M37986</link>
      <description>&lt;P&gt;Jeremy&lt;/P&gt;&lt;P&gt;I have started to examine the code in relation to first &lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;integrating into CropViewToRoom to implement the complete job.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;If I understand the code correctly the line&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;JtLoops loops = Cmd2dBoolean.GetRoomOuterBoundaryLoops(room, seb_opt, view );&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;loops is the outer loop however I regret I cannot see how this links into&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;CurveLoop cloop = CurveLoop.CreateViaOffset(loops, offset, normal );&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;As this returns an error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #666666; font-family: 'Artifakt',Tahoma,Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;I assume&amp;nbsp;&lt;SPAN style="background-color: #ffffff; box-sizing: border-box; color: #666666; display: inline; float: none; font-family: &amp;amp;quot; artifakt&amp;amp;quot;,tahoma,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;JtLoops loops&lt;/SPAN&gt; needs converting somehow into a CurveLoop?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 18:00:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9252903#M37986</guid>
      <dc:creator>stephen_harrison</dc:creator>
      <dc:date>2020-01-15T18:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: CreateViaOffset(CurveLoop original,IList&lt;double&gt; offsetDists,XYZ norma</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9253395#M37987</link>
      <description>&lt;P&gt;Yes, indeed, of course. It is pretty simple. Furthermore, the JtLoop data is in millimetres, and the Revit database stores all lengths in imperial feet, so you will have to multiply the data by 25.4 (to convert mm to inch) times 12 (to convert inch to foot). Or divide by those values, or something.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 21:37:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/createviaoffset-curveloop-original-ilist-lt-double-gt/m-p/9253395#M37987</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-01-15T21:37:27Z</dc:date>
    </item>
  </channel>
</rss>

