<?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: Rotate all objects using data source in InfraWorks Forum</title>
    <link>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/11819875#M5800</link>
    <description>&lt;P&gt;How to export object in Civil 3D with&amp;nbsp;&lt;SPAN&gt;attributes, I use command MAPEXPORT but it no attributes, please help!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Mar 2023 09:30:31 GMT</pubDate>
    <dc:creator>inception2708</dc:creator>
    <dc:date>2023-03-14T09:30:31Z</dc:date>
    <item>
      <title>Rotate all objects using data source</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/9591462#M5794</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I want to add design lightpoles to my Infraworks model.&lt;/P&gt;
&lt;P&gt;As an existing source data i use AutoCAD blocks, either of them have an individual rotation angle.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I try to import this data using GIS format (.sdf) - data completely have been added to Infraworks with standart rotation angle for all objects.&lt;/P&gt;
&lt;P&gt;Next I want to automatically rotate all data objects using script:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eduard_Karadzhaian_0-1592692779342.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/786006i098E3E4514C998E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Eduard_Karadzhaian_0-1592692779342.png" alt="Eduard_Karadzhaian_0-1592692779342.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But it doesn't work.&lt;/P&gt;
&lt;P&gt;I'll be glad to get any advices ASAP.&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jun 2020 22:41:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/9591462#M5794</guid>
      <dc:creator>Karadzhaian_Eduard</dc:creator>
      <dc:date>2020-06-20T22:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate all objects using data source</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/9591468#M5795</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1234438"&gt;@Karadzhaian_Eduard&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your SDF has a a rotation attribute on it, you can map that to the 'rotate z' field in the table view at import. No script required.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jun 2020 22:48:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/9591468#M5795</guid>
      <dc:creator>andrewofabley</dc:creator>
      <dc:date>2020-06-20T22:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate all objects using data source</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/9592048#M5796</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2238904"&gt;@andrewofabley&lt;/a&gt;&amp;nbsp;could you please confirm this information using screenshot?&lt;/P&gt;
&lt;P&gt;In&amp;nbsp;&lt;SPAN&gt;'rotate z' field it is impossible to input rotation attribute name or choose it from list. There is a possiblity to input only absolute values. Essentialy I have rotation attribute in my .sdf file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorEduard_Karadzhaian_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorEduard_Karadzhaian_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot.PNG" style="width: 644px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/786125iF162B3B996908277/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot.PNG" alt="Screenshot.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2020 17:32:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/9592048#M5796</guid>
      <dc:creator>Karadzhaian_Eduard</dc:creator>
      <dc:date>2020-06-21T17:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate all objects using data source</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/9592057#M5797</link>
      <description>&lt;P&gt;Another situation with "Set elevation" value. Here there is a possibility to adjust any attributes values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_2.PNG" style="width: 651px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/786128i81128752399FF43F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_2.PNG" alt="Screenshot_2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2020 17:35:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/9592057#M5797</guid>
      <dc:creator>Karadzhaian_Eduard</dc:creator>
      <dc:date>2020-06-21T17:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate all objects using data source</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/9592140#M5798</link>
      <description>&lt;P&gt;My problem solved.&lt;/P&gt;
&lt;P&gt;Really script was so easy:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;function Process(SOURCE, CITY_FURNITURE) {&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;CITY_FURNITURE.MODEL_ROTATE_Z = SOURCE[&lt;FONT color="#FF0000"&gt;"ATTRIBUTE_NAME"&lt;/FONT&gt;]*180/3.14;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;return true;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;}&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2020 19:16:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/9592140#M5798</guid>
      <dc:creator>Karadzhaian_Eduard</dc:creator>
      <dc:date>2020-06-21T19:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate all objects using data source</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/9592791#M5799</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1234438"&gt;@Karadzhaian_Eduard&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;just for answering the open question about where to define the rotation - if you have an attribiute in the SDF/SHP files for rotation, you can select it in the table tab:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test_points.png" style="width: 304px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/786322i98F193AB6EF91C65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="test_points.png" alt="test_points.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Karsten.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 08:56:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/9592791#M5799</guid>
      <dc:creator>Karsten.Saenger</dc:creator>
      <dc:date>2020-06-22T08:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate all objects using data source</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/11819875#M5800</link>
      <description>&lt;P&gt;How to export object in Civil 3D with&amp;nbsp;&lt;SPAN&gt;attributes, I use command MAPEXPORT but it no attributes, please help!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 09:30:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/11819875#M5800</guid>
      <dc:creator>inception2708</dc:creator>
      <dc:date>2023-03-14T09:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate all objects using data source</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/12785281#M5801</link>
      <description>&lt;P&gt;I try the above method and am still not getting the same rotation as in CAD. I have an SDF with extracted rotation values, I map that attribute (and convert from radians) but it is still a different rotation to the CAD. The value is the same but the angle is different.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 16:03:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/12785281#M5801</guid>
      <dc:creator>mark.reeveTXANL</dc:creator>
      <dc:date>2024-05-20T16:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate all objects using data source</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/13236143#M5802</link>
      <description>&lt;P&gt;Go to data tab, select "select attributes" chose the properties you want&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="namlt33_0-1735645127852.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1450114i55F58E693F8C3ADD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="namlt33_0-1735645127852.png" alt="namlt33_0-1735645127852.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 11:38:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/13236143#M5802</guid>
      <dc:creator>namlt33</dc:creator>
      <dc:date>2024-12-31T11:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate all objects using data source</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/13788965#M25005</link>
      <description>&lt;P&gt;Thanks for this - I know it's an old post, but it helps!&lt;/P&gt;&lt;P&gt;There's a couple of things I did differently in v2026 as the above didn't quite work for me as posted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I entered the formula in the table tab rather than in the script tab as the latter didn't work&lt;/P&gt;&lt;P&gt;2. I corrected the rotation by subtracting 90deg due to the orientation from my export from AutoCAD.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Easy corrections to make!&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="sconroy_0-1756486418513.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1565994i592FFCF63E390F9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sconroy_0-1756486418513.png" alt="sconroy_0-1756486418513.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sean&lt;BR /&gt;Dell Precision 7740 Intel Core i9-9880H CPU @ 2.30Ghz -32GB RAM Windows 10 Pro - 64Bit&lt;BR /&gt;NVIDIA Quadro RTX4000 video card dual/dual monitor setup&lt;BR /&gt;Civil 3D 2019.3.4 w/ AutoCAD 2019.1.4 / Infraworks 26.0.0.16&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 16:57:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/13788965#M25005</guid>
      <dc:creator>captcrayola</dc:creator>
      <dc:date>2025-08-29T16:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rotate all objects using data source</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/13795117#M25012</link>
      <description>&lt;P&gt;I’ve run into the same issue before, and it usually comes down to one (or both) of the following causes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Model Orientation&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 3D model might not be facing the correct direction.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Try rotating the model so it aligns with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;green axis&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(X-axis).&lt;/LI&gt;&lt;LI&gt;In my case, I had to rotate the model of the lighting column&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;180 degrees&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Important:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Don’t rely on the ViewCube for orientation—it can be misleading.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="srksphillips_1-1756915692077.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1567250i7DA4EF81B18B8411/image-size/medium?v=v2&amp;amp;px=400" role="button" title="srksphillips_1-1756915692077.png" alt="srksphillips_1-1756915692077.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Rotation Angle Direction&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your attribute values might assume&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;clockwise rotation from North&lt;/STRONG&gt;, but InfraWorks uses&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;counter-clockwise rotation&lt;/STRONG&gt;.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;This means your lighting columns (or other features) may rotate, but not in the direction you expect.&lt;/LI&gt;&lt;LI&gt;To correct this, subtract your angle from 360:&lt;UL&gt;&lt;LI&gt;For example:&lt;SPAN&gt;&amp;nbsp;360-&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;[insert attribute name] &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;e.g.&amp;nbsp;360-&lt;/FONT&gt;&lt;STRONG&gt;Bearing&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;My bearings are in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;degrees from North&lt;/STRONG&gt;, not radians—so make sure your data matches that format.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="srksphillips_0-1756915340206.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1567247iFD5F6A09C359E2E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="srksphillips_0-1756915340206.png" alt="srksphillips_0-1756915340206.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 16:20:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/rotate-all-objects-using-data-source/m-p/13795117#M25012</guid>
      <dc:creator>srksphillips</dc:creator>
      <dc:date>2025-09-03T16:20:02Z</dc:date>
    </item>
  </channel>
</rss>

