<?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: Why can't rotate ? in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/why-can-t-rotate/m-p/6613779#M5084</link>
    <description>Hi, &lt;BR /&gt;&lt;BR /&gt;probably this blog can help you to diagnose the problem:&lt;BR /&gt;&lt;A href="http://adndevblog.typepad.com/aec/2014/08/transform-object-with-a-series-of-moves.html" target="_blank"&gt;http://adndevblog.typepad.com/aec/2014/08/transform-object-with-a-series-of-moves.html&lt;/A&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 11 Oct 2016 02:23:39 GMT</pubDate>
    <dc:creator>xiaodong_liang</dc:creator>
    <dc:date>2016-10-11T02:23:39Z</dc:date>
    <item>
      <title>Why can't rotate ?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/why-can-t-rotate/m-p/6613039#M5083</link>
      <description>&lt;P&gt;I'm trying to import and rotate a STEP file, but the rotation isn't working. Why ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Document doc = Autodesk.Navisworks.Api.Application.MainDocument;&lt;BR /&gt;doc.AppendFile(@"C:\Users\bnps\Desktop\Teste.STEP");&lt;/P&gt;&lt;P&gt;ModelItemCollection mic = new ModelItemCollection();&lt;/P&gt;&lt;P&gt;foreach (Model mdl in doc.Models)&lt;BR /&gt;mic.Add(mdl.RootItem);&lt;/P&gt;&lt;P&gt;UnitVector3D vecX = new UnitVector3D(1, 0, 0);&lt;BR /&gt;Rotation3D rot1 = new Rotation3D(vecX, Math.PI / 2);&lt;BR /&gt;Transform3D rotMat = new Transform3D(rot1);&lt;BR /&gt;doc.Models.OverridePermanentTransform(mic, rotMat, true);&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2016 19:02:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/why-can-t-rotate/m-p/6613039#M5083</guid>
      <dc:creator>Bruno_Neves_Pires_Silva</dc:creator>
      <dc:date>2016-10-10T19:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't rotate ?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/why-can-t-rotate/m-p/6613779#M5084</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;probably this blog can help you to diagnose the problem:&lt;BR /&gt;&lt;A href="http://adndevblog.typepad.com/aec/2014/08/transform-object-with-a-series-of-moves.html" target="_blank"&gt;http://adndevblog.typepad.com/aec/2014/08/transform-object-with-a-series-of-moves.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Oct 2016 02:23:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/why-can-t-rotate/m-p/6613779#M5084</guid>
      <dc:creator>xiaodong_liang</dc:creator>
      <dc:date>2016-10-11T02:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't rotate ?</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/why-can-t-rotate/m-p/6620062#M5085</link>
      <description>&lt;P&gt;Thank you, Xiaodong.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 13:01:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/why-can-t-rotate/m-p/6620062#M5085</guid>
      <dc:creator>Bruno_Neves_Pires_Silva</dc:creator>
      <dc:date>2016-10-13T13:01:12Z</dc:date>
    </item>
  </channel>
</rss>

