<?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: The methode Curve.CreateOffset seams to have troubles in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/the-methode-curve-createoffset-seams-to-have-troubles/m-p/7221319#M57268</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in the RevitAPI.chm file, Curve.CreateOffset has a "Remarks" section counting more than 700 words, making it one of the best documented methods.&lt;/P&gt;
&lt;P&gt;Ships with the Revit API SDK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Revitalizer&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jul 2017 06:06:16 GMT</pubDate>
    <dc:creator>Revitalizer</dc:creator>
    <dc:date>2017-07-12T06:06:16Z</dc:date>
    <item>
      <title>The methode Curve.CreateOffset seams to have troubles</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/the-methode-curve-createoffset-seams-to-have-troubles/m-p/7219266#M57267</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here is my problem :&lt;/P&gt;&lt;P&gt;I created a line, maLigne.&lt;/P&gt;&lt;P&gt;Then I apply a transformation, either this :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Transform transformation = Transform.CreateTranslation(vecteurNormal);&lt;/P&gt;&lt;P&gt;resultat = maLigne.CreateTransformed(transformation) as Line;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or that&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;resultat2 = maLigne.CreateOffset(monMur.WallType.Width / 2, vecteurNormal) as Line;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 2 transformed lines are not the same !! In fact only the first is correct, the solution using createOffset is not (my vector vecteurNormal is in the XY plane and the offset direction is taken as the Z axis.&lt;/P&gt;&lt;P&gt;I guess there is a problem in the code of the function...&lt;/P&gt;&lt;P&gt;Sincerely&lt;/P&gt;&lt;P&gt;Benoit&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 12:37:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/the-methode-curve-createoffset-seams-to-have-troubles/m-p/7219266#M57267</guid>
      <dc:creator>BenoitE&amp;A</dc:creator>
      <dc:date>2017-07-11T12:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: The methode Curve.CreateOffset seams to have troubles</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/the-methode-curve-createoffset-seams-to-have-troubles/m-p/7221319#M57268</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in the RevitAPI.chm file, Curve.CreateOffset has a "Remarks" section counting more than 700 words, making it one of the best documented methods.&lt;/P&gt;
&lt;P&gt;Ships with the Revit API SDK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Revitalizer&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 06:06:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/the-methode-curve-createoffset-seams-to-have-troubles/m-p/7221319#M57268</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2017-07-12T06:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: The methode Curve.CreateOffset seams to have troubles</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/the-methode-curve-createoffset-seams-to-have-troubles/m-p/7225596#M57269</link>
      <description>&lt;P&gt;Ok you are right, the&amp;nbsp;offset direction is taken as the cross product of the tangeant vector to the curve and the vector taken as argument in CreateOffset. But I don't get why this choice was made.&lt;/P&gt;&lt;P&gt;Whatever, Transform works better for my purpose.&lt;/P&gt;&lt;P&gt;Thanks anyway.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:47:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/the-methode-curve-createoffset-seams-to-have-troubles/m-p/7225596#M57269</guid>
      <dc:creator>BenoitE&amp;A</dc:creator>
      <dc:date>2017-07-13T12:47:40Z</dc:date>
    </item>
  </channel>
</rss>

