<?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: Option to programatically select Mirror Axis after MirrorProject postable command in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/option-to-programatically-select-mirror-axis-after-mirrorproject/m-p/10015424#M29012</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&amp;nbsp;as suggested we tried the approach by using&amp;nbsp;ElementTransformUtils.MirrorElements.&lt;/P&gt;&lt;P&gt;We retrieved the collection of element ids from the revit active document and set plane in which the mirrored model should be placed. We have passed these arguments to the Revit API of mirroring i.e. ElementTransformUtils.MirrorElements(doc, ElementCollection, plane, false);&lt;BR /&gt;Mostly it works but facing issue while mirroring the elements with element type of &lt;STRONG&gt;Family Instance&lt;/STRONG&gt;.&lt;BR /&gt;The family instance are not getting mirrored while all the other types are mirrored as expected.&lt;/P&gt;&lt;P&gt;Any suggestions?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot. We really appreciate your help.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jan 2021 09:50:11 GMT</pubDate>
    <dc:creator>Rahul.Khande</dc:creator>
    <dc:date>2021-01-20T09:50:11Z</dc:date>
    <item>
      <title>Option to programatically select Mirror Axis after MirrorProject postable command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/option-to-programatically-select-mirror-axis-after-mirrorproject/m-p/10009438#M29009</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using MirrorProject postable command to mirror the entire project using our addin. Mirroring the project happens in batch.&lt;/P&gt;&lt;P&gt;But after executing MirrorProject command, dialog is displayed to select mirror axis. So question is:&lt;/P&gt;&lt;P&gt;1. Is there any way to select mirror axis by api instead of showing dialog?&lt;/P&gt;&lt;P&gt;2. Or is there any better way to mirror entire project in one go?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 11:13:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/option-to-programatically-select-mirror-axis-after-mirrorproject/m-p/10009438#M29009</guid>
      <dc:creator>Rahul.Khande</dc:creator>
      <dc:date>2021-01-18T11:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Option to programatically select Mirror Axis after MirrorProject postable command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/option-to-programatically-select-mirror-axis-after-mirrorproject/m-p/10009490#M29010</link>
      <description>&lt;P&gt;I can answer item 1 offhand: no, sorry, no way. PostCommand just launches the original built-in Revit command with its standard end user interface and no possibility to pass in options programmatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For item 2, the Revit API does provide a few transformation and mirroring options that may fit your needs. For instance, take a look at the methods provided by the&amp;nbsp;ElementTransformUtils class:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2020/82e737d5-fda4-bc10-6099-88999cd51300.htm" target="_blank"&gt;https://www.revitapidocs.com/2020/82e737d5-fda4-bc10-6099-88999cd51300.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 11:38:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/option-to-programatically-select-mirror-axis-after-mirrorproject/m-p/10009490#M29010</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2021-01-18T11:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Option to programatically select Mirror Axis after MirrorProject postable command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/option-to-programatically-select-mirror-axis-after-mirrorproject/m-p/10009578#M29011</link>
      <description>&lt;P&gt;Thank you for your quick response. I will try it and let you know.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 12:16:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/option-to-programatically-select-mirror-axis-after-mirrorproject/m-p/10009578#M29011</guid>
      <dc:creator>Rahul.Khande</dc:creator>
      <dc:date>2021-01-18T12:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Option to programatically select Mirror Axis after MirrorProject postable command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/option-to-programatically-select-mirror-axis-after-mirrorproject/m-p/10015424#M29012</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&amp;nbsp;as suggested we tried the approach by using&amp;nbsp;ElementTransformUtils.MirrorElements.&lt;/P&gt;&lt;P&gt;We retrieved the collection of element ids from the revit active document and set plane in which the mirrored model should be placed. We have passed these arguments to the Revit API of mirroring i.e. ElementTransformUtils.MirrorElements(doc, ElementCollection, plane, false);&lt;BR /&gt;Mostly it works but facing issue while mirroring the elements with element type of &lt;STRONG&gt;Family Instance&lt;/STRONG&gt;.&lt;BR /&gt;The family instance are not getting mirrored while all the other types are mirrored as expected.&lt;/P&gt;&lt;P&gt;Any suggestions?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot. We really appreciate your help.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 09:50:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/option-to-programatically-select-mirror-axis-after-mirrorproject/m-p/10015424#M29012</guid>
      <dc:creator>Rahul.Khande</dc:creator>
      <dc:date>2021-01-20T09:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Option to programatically select Mirror Axis after MirrorProject postable command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/option-to-programatically-select-mirror-axis-after-mirrorproject/m-p/10015489#M29013</link>
      <description>&lt;P&gt;Well, you are working with a BIM that is trying to represent a real-world building.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You cannot simply mirror a door, for example, since the mirrored version may have a different product number and other vendor specific properties.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you can use the flip operation for those.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically, however, you cannot mirror a complete house in the real world, so you should expect some challenges trying to do so with the BIM as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 10:19:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/option-to-programatically-select-mirror-axis-after-mirrorproject/m-p/10015489#M29013</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2021-01-20T10:19:26Z</dc:date>
    </item>
  </channel>
</rss>

