<?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: how to rotate a FamilyInstance around 3 axes in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/8012234#M56735</link>
    <description>&lt;P&gt;Singh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your code lines are simple and good.&amp;nbsp; What program are you coding in?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 18 May 2018 19:19:12 GMT</pubDate>
    <dc:creator>paulight</dc:creator>
    <dc:date>2018-05-18T19:19:12Z</dc:date>
    <item>
      <title>how to rotate a FamilyInstance around 3 axes</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/7285466#M56731</link>
      <description>&lt;P&gt;Can anyone please show me how to rotate a FamilyInstance derived from Metric Generic Model.rft about the 3 axes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 20:56:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/7285466#M56731</guid>
      <dc:creator>dirk.neethling</dc:creator>
      <dc:date>2017-08-08T20:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to rotate a FamilyInstance around 3 axes</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/7286468#M56732</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi dirk,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let say familyinstance =fin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;1st&amp;nbsp; : Get Family Instance Location point (LP)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;2nd&amp;nbsp; : Now create unbound line according to direction(X,Y,Z) Like.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XBasis=Line.Create(LP, fin.GetTransform().BasisX)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; YBasis=Line.Create(LP, fin.GetTransform().BasisY)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ZBasis=Line.Create(LP, fin.GetTransform().BasisZ)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;3rd : Rotate Element&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElementTransformUtils.RotateElement(document, element.Id, XBasis,Angle) &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElementTransformUtils.RotateElement(document, element.Id, YBasis,Angle)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElementTransformUtils.RotateElement(document, element.Id, ZBasis,Angle)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: Can you explain more about "&lt;STRONG&gt;derived from Metric Generic&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This may help you&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 08:49:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/7286468#M56732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-09T08:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to rotate a FamilyInstance around 3 axes</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/7286482#M56733</link>
      <description>&lt;P&gt;&amp;nbsp;"&lt;STRONG&gt;derived from Metric Generic&lt;/STRONG&gt;" just means I use the "&lt;STRONG&gt;Metric Generic Model.rft&lt;/STRONG&gt;" template to generate the Family.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 08:57:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/7286482#M56733</guid>
      <dc:creator>dirk.neethling</dc:creator>
      <dc:date>2017-08-09T08:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to rotate a FamilyInstance around 3 axes</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/7286502#M56734</link>
      <description>Oh,&lt;BR /&gt;&lt;BR /&gt;I think you derived metrices for rotation.&lt;BR /&gt;&lt;BR /&gt;I hope this will solve your issue.</description>
      <pubDate>Wed, 09 Aug 2017 09:04:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/7286502#M56734</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-09T09:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to rotate a FamilyInstance around 3 axes</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/8012234#M56735</link>
      <description>&lt;P&gt;Singh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your code lines are simple and good.&amp;nbsp; What program are you coding in?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 19:19:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/8012234#M56735</guid>
      <dc:creator>paulight</dc:creator>
      <dc:date>2018-05-18T19:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to rotate a FamilyInstance around 3 axes</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/12545270#M56736</link>
      <description>where do you get the Angle which is used in ElementTransformUtils.RotateElement(document, element.Id, XBasis,Angle) ?</description>
      <pubDate>Wed, 07 Feb 2024 07:59:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/12545270#M56736</guid>
      <dc:creator>ivo.lafeber</dc:creator>
      <dc:date>2024-02-07T07:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to rotate a FamilyInstance around 3 axes</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/12545455#M56737</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;where do you get the Angle... ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I would guess from the same place as you, when you ask&amp;nbsp;&lt;EM&gt;how to rotate a FamilyInstance around 3 axes.&lt;/EM&gt;.. What rotation? Which axes?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Neither &lt;/SPAN&gt;&lt;SPAN&gt;the question nor the answer specify any details, so the answer matches the question well.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Orientation in 3D space requires you to provide some pretty specify input in order to be able to discuss it at all, cf.,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://duckduckgo.com/?q=orientation+3d+space&amp;amp;ia=web" target="_blank"&gt;https://duckduckgo.com/?q=orientation+3d+space&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 09:43:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/12545455#M56737</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2024-02-07T09:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to rotate a FamilyInstance around 3 axes</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/12546930#M56738</link>
      <description>&lt;P&gt;Not really a programming comment, but let's also not forget 3D rotations are not commutative.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rotating around one axis and then another is not necessarily the same as rotating around the second axis and then the first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's almost like adding 2+3+4 and then adding 2+4+3 and getting different answers.&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>Wed, 07 Feb 2024 21:00:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-rotate-a-familyinstance-around-3-axes/m-p/12546930#M56738</guid>
      <dc:creator>sragan</dc:creator>
      <dc:date>2024-02-07T21:00:45Z</dc:date>
    </item>
  </channel>
</rss>

