<?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 Betreff: feature name in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/feature-name/m-p/12441947#M2666</link>
    <description>&lt;P&gt;Thank you! It is better than my way.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Dec 2023 19:17:25 GMT</pubDate>
    <dc:creator>peterquRXR7S</dc:creator>
    <dc:date>2023-12-14T19:17:25Z</dc:date>
    <item>
      <title>feature name</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/feature-name/m-p/12441611#M2664</link>
      <description>&lt;P&gt;One feature has four holes. I selected two of them. How do I figure out their names? I know I can export them, then open the file and read the names. But is there a better way?&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="peterquRXR7S_0-1702570857406.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1304872i3588E6B744D64361/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peterquRXR7S_0-1702570857406.png" alt="peterquRXR7S_0-1702570857406.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 16:23:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/feature-name/m-p/12441611#M2664</guid>
      <dc:creator>peterquRXR7S</dc:creator>
      <dc:date>2023-12-14T16:23:06Z</dc:date>
    </item>
    <item>
      <title>Betreff: feature name</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/feature-name/m-p/12441712#M2665</link>
      <description>&lt;P&gt;tbh not a 'better' solution but a diffrent one:&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;LI-CODE lang="general"&gt;//check if anything is selected
if not entity_exists(entity('featureset','')) or number_selected(entity('featureset','')) &amp;lt;= 0 {
	return
}

//stores the current featureset
entity $currentFs = entity('featureset','')

//copy and the selected features into a new fs then activate the new one
copy featureset ; selected
activate featureset #

//extract the names into a string list
string list $selectedFSNames = extract(components(entity('featureset','')),'Name')

//remove the temp featureset
purge featureset ; yes

//activate the original featureset
activate featureset ${currentFs.Name}

//loop throgh the fs names and activate the features to restore original state
foreach $f in $selectedFSNames {
	edit featureset ; select ${f}
}&lt;/LI-CODE&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;this is probably slow with large featuresets, maby you should consider to remove the foreach loop at the end&lt;/P&gt;&lt;P&gt;if you don't need to restore the original state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A Property like (BOOL)IsSelected would be gold here....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 17:15:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/feature-name/m-p/12441712#M2665</guid>
      <dc:creator>icse</dc:creator>
      <dc:date>2023-12-14T17:15:49Z</dc:date>
    </item>
    <item>
      <title>Betreff: feature name</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/feature-name/m-p/12441947#M2666</link>
      <description>&lt;P&gt;Thank you! It is better than my way.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 19:17:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/feature-name/m-p/12441947#M2666</guid>
      <dc:creator>peterquRXR7S</dc:creator>
      <dc:date>2023-12-14T19:17:25Z</dc:date>
    </item>
  </channel>
</rss>

