<?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: Reverse Selected Holes Macro in PowerShape Forum</title>
    <link>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8143899#M1541</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="iframe-container"&gt;&lt;IFRAME width="640" height="590" src="https://screencast.autodesk.com/Embed/Timeline/66952e5a-9ece-4e0f-acb7-297e6e67c727" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jul 2018 12:38:58 GMT</pubDate>
    <dc:creator>jelrod</dc:creator>
    <dc:date>2018-07-20T12:38:58Z</dc:date>
    <item>
      <title>Reverse Selected Holes Macro</title>
      <link>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8138543#M1536</link>
      <description>&lt;P&gt;I am trying to create a macro that will reverse the direction of all holes in a selected solid or just selected holes.&amp;nbsp; I've got it selecting all holes through the feature manager and that works correctly but am hung up on getting it to flip the plane details. After selection I have this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TreeEdit&lt;BR /&gt;PLANE_DETAILS&lt;BR /&gt;FLIP&lt;BR /&gt;ACCEPT&lt;BR /&gt;APPLY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to do nothing.&amp;nbsp; It's probably something easy and obvious to someone more versed in macros than me. Thanks for any help with this.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 15:07:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8138543#M1536</guid>
      <dc:creator>jelrod</dc:creator>
      <dc:date>2018-07-18T15:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Selected Holes Macro</title>
      <link>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8141262#M1537</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4539282"&gt;@jelrod&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for contacting Autodesk Community Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As per information available with me there is limitation that user can not select an edge in PS GUI using macro command. There is an existing change request for ability to select an edge using PowerShape macro and development team is working on this change request.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope above given information helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 13:04:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8141262#M1537</guid>
      <dc:creator>Yogesh.Mohite</dc:creator>
      <dc:date>2018-07-19T13:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Selected Holes Macro</title>
      <link>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8141345#M1538</link>
      <description>&lt;P&gt;Below was my first attempt for reversing all holes in a selected solid.&amp;nbsp; If I select a solid&amp;nbsp; and run this it selects all of the holes, in graphics looks like it reverses them, and completes.&amp;nbsp; Even though it looks like it reverses them it doesn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since reversing the plane for the holes doesn't seem to be able to happen using multi select manually I assume I need to list all holes and loop through the list reversing individually but I'm not sure how to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to end up with a macro that would reverse all holes in a selected solid and one that would reverse only the preselected holes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;TreeEdit&lt;BR /&gt;&amp;nbsp; Modify FeatureManager&lt;BR /&gt;&amp;nbsp; SELECTITEM TYPE Hole&lt;BR /&gt;&amp;nbsp; ACCEPT&lt;BR /&gt;&lt;BR /&gt;TreeEdit&lt;BR /&gt;Modify Feature Draw&lt;BR /&gt;PLANE_DETAILS&lt;BR /&gt;FLIP&lt;BR /&gt;ACCEPT&lt;BR /&gt;APPLY&lt;BR /&gt;RENAME_ON&lt;BR /&gt;CANCEL&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 14:03:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8141345#M1538</guid>
      <dc:creator>jelrod</dc:creator>
      <dc:date>2018-07-19T14:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Selected Holes Macro</title>
      <link>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8143362#M1539</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4539282"&gt;@jelrod&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Below was my first attempt for reversing all holes in a selected solid.&amp;nbsp; If I select a solid&amp;nbsp; and run this it selects all of the holes, in graphics looks like it reverses them, and completes.&amp;nbsp; Even though it looks like it reverses them it doesn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since reversing the plane for the holes doesn't seem to be able to happen using multi select manually I assume I need to list all holes and loop through the list reversing individually but I'm not sure how to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to end up with a macro that would reverse all holes in a selected solid and one that would reverse only the preselected holes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;TreeEdit&lt;BR /&gt;&amp;nbsp; Modify FeatureManager&lt;BR /&gt;&amp;nbsp; SELECTITEM TYPE Hole&lt;BR /&gt;&amp;nbsp; ACCEPT&lt;BR /&gt;&lt;BR /&gt;TreeEdit&lt;BR /&gt;Modify Feature Draw&lt;BR /&gt;PLANE_DETAILS&lt;BR /&gt;FLIP&lt;BR /&gt;ACCEPT&lt;BR /&gt;APPLY&lt;BR /&gt;RENAME_ON&lt;BR /&gt;CANCEL&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Jelrod,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for posting in Autodesk Community!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I understood, you are stuck with some issue to create Hole macro as well as reverse the holes of the solid. For better clarification of your query,&amp;nbsp; you have to put more effort to create a video file by using screencast tool by click on below link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://knowledge.autodesk.com/community/screencast" target="_blank"&gt;https://knowledge.autodesk.com/community/screencast&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It could be better if you can upload the PSMODEL. Please&amp;nbsp;provide this on earliest, then only I will try my best to provide you the right solution. Look forward to hearing from you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 08:04:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8143362#M1539</guid>
      <dc:creator>Sudhira</dc:creator>
      <dc:date>2018-07-20T08:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Selected Holes Macro</title>
      <link>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8143854#M1540</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4758183" target="_blank"&gt;@Sudhira&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a screencast best showing what I want to do.&amp;nbsp; It shows how I can reverse the hole direction when only selecting one hole but that option is not available if I select more than one hole.&amp;nbsp; What I am wanting is a macro that lets me multi select holes and will reverse those selected holes when ran. I have also tried reversing all holes in a selected solid but I really only need for it to work on my preselected holes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had hoped it would be as simple as the previous posted code but suspect that it needs a loop reversing holes individually instead of all at once.&amp;nbsp; I've also tried the following code attempting that but I can't get it to work either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TreeEdit&lt;BR /&gt;&amp;nbsp; Modify FeatureManager&lt;BR /&gt;&amp;nbsp; SELECTITEM TYPE Hole&lt;BR /&gt;&amp;nbsp; ACCEPT&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;LET num_holes = Selection.number&lt;BR /&gt;IF $num_holes == 0 {&lt;BR /&gt;&amp;nbsp; PRINT 'Nothing selected - select holes and features'&lt;BR /&gt;&amp;nbsp; RETURN&lt;BR /&gt;}&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;LIST hol_names = SELECTION.NAMES&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;LET i = 1&lt;BR /&gt;LET carry_on = ($i &amp;lt;= $num_holes)&lt;BR /&gt;WHILE $carry_on {&lt;BR /&gt;&amp;nbsp; STRING hol_name = $hol_names[$i]&lt;BR /&gt;&lt;BR /&gt;add hole $hol_name&lt;BR /&gt;&amp;nbsp;TreeEdit&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; TreeEdit&lt;BR /&gt;Modify Feature Draw&lt;BR /&gt;PLANE_DETAILS&lt;BR /&gt;FLIP&lt;BR /&gt;ACCEPT&lt;BR /&gt;APPLY&lt;BR /&gt;RENAME_ON&lt;BR /&gt;CANCEL&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; LET i = $i + 1&lt;BR /&gt;&amp;nbsp; LET carry_on = ($i &amp;lt;= $num_holes)&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;&lt;DIV class="screencast_placeholder"&gt;Screencast will be displayed here after you click Post.&lt;P class="screencast_id"&gt;66952e5a-9ece-4e0f-acb7-297e6e67c727&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 12:28:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8143854#M1540</guid>
      <dc:creator>jelrod</dc:creator>
      <dc:date>2018-07-20T12:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Selected Holes Macro</title>
      <link>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8143899#M1541</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="iframe-container"&gt;&lt;IFRAME width="640" height="590" src="https://screencast.autodesk.com/Embed/Timeline/66952e5a-9ece-4e0f-acb7-297e6e67c727" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 12:38:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8143899#M1541</guid>
      <dc:creator>jelrod</dc:creator>
      <dc:date>2018-07-20T12:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Selected Holes Macro</title>
      <link>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8143959#M1542</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4758183"&gt;@Sudhira&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is a psmodel with 4 holes.&amp;nbsp; Two are one direction and two are the other. I want to be able to pre-select two of them and have a macro to reverse them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a simple model but when a model has 40 or 50 holes that needs reversing it takes a while doing them individually and is why I am trying to make a macro&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 12:56:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8143959#M1542</guid>
      <dc:creator>jelrod</dc:creator>
      <dc:date>2018-07-20T12:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Selected Holes Macro</title>
      <link>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8144800#M1543</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@@jelro&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4758183" target="_blank"&gt;@Sudhira&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is a psmodel with 4 holes.&amp;nbsp; Two are one direction and two are the other. I want to be able to pre-select two of them and have a macro to reverse them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a simple model but when a model has 40 or 50 holes that needs reversing it takes a while doing them individually and is why I am trying to make a macro&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Jelrod,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no option in filter to select the hole feature. So there is an alternative&amp;nbsp;option for this. Please&amp;nbsp;refer the video to resolve the issue in another way. But we can wish for this option in the future release. In the future, I will get any better idea, definitely&amp;nbsp;share with you.&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;&lt;DIV class="iframe-container"&gt;&lt;IFRAME width="640" height="590" src="https://screencast.autodesk.com/Embed/Timeline/db4e8a9f-aa00-4c97-8e16-a98c518a5058" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 18:02:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8144800#M1543</guid>
      <dc:creator>Sudhira</dc:creator>
      <dc:date>2018-07-20T18:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Selected Holes Macro</title>
      <link>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8145097#M1544</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4758183"&gt;@Sudhira&lt;/a&gt; for the workaround.&amp;nbsp; Mirroring that way works when a part is symmetric but won't when it's not or when the geometry has an offset.&amp;nbsp; It will however work on some parts and I will use this method when applicable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had hoped a macro could reverse hole planes but maybe it can't. It does work if you add the name of the hole before the code that flips the plane so my thought was if I could collect the selected hole names they could be looped through in the macro flipping the planes.&amp;nbsp; Maybe it's just not possible.&amp;nbsp; Thank you for the effort.&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>Fri, 20 Jul 2018 20:14:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-forum/reverse-selected-holes-macro/m-p/8145097#M1544</guid>
      <dc:creator>jelrod</dc:creator>
      <dc:date>2018-07-20T20:14:27Z</dc:date>
    </item>
  </channel>
</rss>

