<?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: Mirror the NWC model in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/mirror-the-nwc-model/m-p/11449362#M1817</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5884814"&gt;@m.shcheblykin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the code to change scale values&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;//Get Scale Values
  Model model;
  Transform3D oldT3d=model.Transform;
  Transform3DComponents t3dComponents = oldT3d.Factor();
  Vector3D Vec3d=t3dComponents.Scale;

//Set scale Values
   t3dComponents.Scale = new Vector3D(scale_X_value, scale_Y_value, scale_Z_value);
   Transform3D newT3d = t3dComponents.Combine();
   models.SetModelUnitsAndTransform(model, Units.Meters, newT3d, true);&lt;/LI-CODE&gt;
&lt;P&gt;Please let me know whether this helps you to resolve the issue or not.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Sep 2022 07:12:17 GMT</pubDate>
    <dc:creator>naveen.kumar.t</dc:creator>
    <dc:date>2022-09-28T07:12:17Z</dc:date>
    <item>
      <title>Mirror the NWC model</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/mirror-the-nwc-model/m-p/11448445#M1816</link>
      <description>&lt;P&gt;Hello dear professional,&lt;/P&gt;&lt;P&gt;I am looking for the way how to mirror NWC appended files with navis API.&lt;/P&gt;&lt;P&gt;So far I reached the point it can be done with the scale section of permanent transformation :&amp;nbsp;&lt;/P&gt;&lt;P&gt;3 fields represent 3 axis (XYZ)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mshcheblykin_1-1664302310747.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1121024i51ACD44892799825/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mshcheblykin_1-1664302310747.png" alt="mshcheblykin_1-1664302310747.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;if value x is set to &lt;STRONG&gt;-1,&amp;nbsp;&lt;/STRONG&gt; the desired result is achieved:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mshcheblykin_4-1664303134528.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1121029i5DBDB25F36EF7324/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mshcheblykin_4-1664303134528.png" alt="mshcheblykin_4-1664303134528.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also found that such transformation can be achieved with&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;A href="https://apidocs.co/apps/navisworks/2017/C_Autodesk_Navisworks_Api_Transform3D_ctor_2_1a60c1f5.htm" target="_blank" rel="noopener"&gt;Transform3D(Matrix3, Vector3D)&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;method which accepts a matrix:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mshcheblykin_2-1664302435948.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1121025iDD6E7CD0C1E543FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mshcheblykin_2-1664302435948.png" alt="mshcheblykin_2-1664302435948.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am not yet sure if it is required to check how work with matrixes but looks like it is a 3 by 3 matrix:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mshcheblykin_3-1664302715891.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1121026i2A6D4FAA1FCFBEF4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mshcheblykin_3-1664302715891.png" alt="mshcheblykin_3-1664302715891.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you show me a codded example how the mirroring can be achieved with navis API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 18:28:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/mirror-the-nwc-model/m-p/11448445#M1816</guid>
      <dc:creator>m.shcheblykin</dc:creator>
      <dc:date>2022-09-27T18:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror the NWC model</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/mirror-the-nwc-model/m-p/11449362#M1817</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5884814"&gt;@m.shcheblykin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the code to change scale values&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;//Get Scale Values
  Model model;
  Transform3D oldT3d=model.Transform;
  Transform3DComponents t3dComponents = oldT3d.Factor();
  Vector3D Vec3d=t3dComponents.Scale;

//Set scale Values
   t3dComponents.Scale = new Vector3D(scale_X_value, scale_Y_value, scale_Z_value);
   Transform3D newT3d = t3dComponents.Combine();
   models.SetModelUnitsAndTransform(model, Units.Meters, newT3d, true);&lt;/LI-CODE&gt;
&lt;P&gt;Please let me know whether this helps you to resolve the issue or not.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 07:12:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/mirror-the-nwc-model/m-p/11449362#M1817</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2022-09-28T07:12:17Z</dc:date>
    </item>
  </channel>
</rss>

