<?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: hole feature set to get xyz dia and height in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/hole-feature-set-to-get-xyz-dia-and-height/m-p/11223522#M6096</link>
    <description>&lt;P&gt;Try This.&lt;/P&gt;&lt;P&gt;There is no need to set up blocks to find points.&lt;/P&gt;&lt;P&gt;If you are curious, check it with macro debug&lt;/P&gt;&lt;LI-CODE lang="general"&gt;ENTITY $fset = INPUT ENTITY FEATURESET "Select the Featureset to output positions from"
string $txtCheck = ""
FOREACH $feat IN components($fset) {
	EDIT FEATURESET $fset DESELECT ALL
      IF feat.type == 'hole' {
		EDIT FEATURESET $fset SELECT $feat
		//txt Initialize
		$txtCheck = ""
		
		//Hole Center Point
		$txtCheck = $txtCheck + "Point X" +$feat.Point[0] + " "
		$txtCheck = $txtCheck + "Y" +$feat.Point[1] + " "
		$txtCheck = $txtCheck + "Z" +$feat.Point[2] + crlf
		
		//Hole feature
		$txtCheck = $txtCheck + "Dia" +$feat.Diameter + " "
		$txtCheck = $txtCheck + "Depth" + $feat.Depth + " "
		$txtCheck = $txtCheck + "Bottom" + $feat.Bottom + " "
		$txtCheck = $txtCheck + "Draft" + $feat.Draft + crlf
		
		//Text check
		Message info $txtCheck
	  }
}  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jun 2022 03:33:57 GMT</pubDate>
    <dc:creator>yd_kwon</dc:creator>
    <dc:date>2022-06-09T03:33:57Z</dc:date>
    <item>
      <title>hole feature set to get xyz dia and height</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/hole-feature-set-to-get-xyz-dia-and-height/m-p/11221157#M6095</link>
      <description>&lt;P&gt;HI !&lt;/P&gt;&lt;P&gt;can this be modify to get additional two columns for featureset height and diameter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 07:22:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/hole-feature-set-to-get-xyz-dia-and-height/m-p/11221157#M6095</guid>
      <dc:creator>malinsAM3TM</dc:creator>
      <dc:date>2022-06-08T07:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: hole feature set to get xyz dia and height</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/hole-feature-set-to-get-xyz-dia-and-height/m-p/11223522#M6096</link>
      <description>&lt;P&gt;Try This.&lt;/P&gt;&lt;P&gt;There is no need to set up blocks to find points.&lt;/P&gt;&lt;P&gt;If you are curious, check it with macro debug&lt;/P&gt;&lt;LI-CODE lang="general"&gt;ENTITY $fset = INPUT ENTITY FEATURESET "Select the Featureset to output positions from"
string $txtCheck = ""
FOREACH $feat IN components($fset) {
	EDIT FEATURESET $fset DESELECT ALL
      IF feat.type == 'hole' {
		EDIT FEATURESET $fset SELECT $feat
		//txt Initialize
		$txtCheck = ""
		
		//Hole Center Point
		$txtCheck = $txtCheck + "Point X" +$feat.Point[0] + " "
		$txtCheck = $txtCheck + "Y" +$feat.Point[1] + " "
		$txtCheck = $txtCheck + "Z" +$feat.Point[2] + crlf
		
		//Hole feature
		$txtCheck = $txtCheck + "Dia" +$feat.Diameter + " "
		$txtCheck = $txtCheck + "Depth" + $feat.Depth + " "
		$txtCheck = $txtCheck + "Bottom" + $feat.Bottom + " "
		$txtCheck = $txtCheck + "Draft" + $feat.Draft + crlf
		
		//Text check
		Message info $txtCheck
	  }
}  &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 03:33:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/hole-feature-set-to-get-xyz-dia-and-height/m-p/11223522#M6096</guid>
      <dc:creator>yd_kwon</dc:creator>
      <dc:date>2022-06-09T03:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: hole feature set to get xyz dia and height</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/hole-feature-set-to-get-xyz-dia-and-height/m-p/11223666#M6097</link>
      <description>&lt;P&gt;Sir Thanks for reply&lt;/P&gt;&lt;P&gt;The macro which u sent is showing mesage is on screen which is not solving our purpose.&lt;/P&gt;&lt;P&gt;Sir I need out put in excel file as below&lt;/P&gt;&lt;P&gt;1. X LOCATION&lt;/P&gt;&lt;P&gt;2. Y LOCATION&lt;/P&gt;&lt;P&gt;3. START Z&lt;/P&gt;&lt;P&gt;4. END Z&lt;/P&gt;&lt;P&gt;5. TOTAL HEIGHT&lt;/P&gt;&lt;P&gt;AND&lt;/P&gt;&lt;P&gt;6. DIAMETER&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sir&lt;/P&gt;&lt;P&gt;the attched macro is&amp;nbsp; giving output for 4 points&lt;/P&gt;&lt;P&gt;need to add totla height and diamater in same macro&lt;/P&gt;&lt;P&gt;please refer attached file for referance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 05:45:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/hole-feature-set-to-get-xyz-dia-and-height/m-p/11223666#M6097</guid>
      <dc:creator>malinsAM3TM</dc:creator>
      <dc:date>2022-06-09T05:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: hole feature set to get xyz dia and height</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/hole-feature-set-to-get-xyz-dia-and-height/m-p/11223718#M6098</link>
      <description>&lt;P&gt;I didn't give all the answers.&lt;BR /&gt;However, it is possible enough if you modify your macro based on the code I posted.&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="Cap 2022-06-09 15-18-48-359.png" style="width: 727px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1077776i618D0A121F3234D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cap 2022-06-09 15-18-48-359.png" alt="Cap 2022-06-09 15-18-48-359.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 06:19:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/hole-feature-set-to-get-xyz-dia-and-height/m-p/11223718#M6098</guid>
      <dc:creator>yd_kwon</dc:creator>
      <dc:date>2022-06-09T06:19:51Z</dc:date>
    </item>
  </channel>
</rss>

