<?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 Name MODELCOMPSET with workplane name in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/name-modelcompset-with-workplane-name/m-p/9391034#M12141</link>
    <description>&lt;P&gt;I want to create several MODELCOMPSET whose names will contain the name of the workplane name.&lt;BR /&gt;For instance:&lt;BR /&gt;a_G55&lt;BR /&gt;b_G55&lt;BR /&gt;a_G56&lt;BR /&gt;b_G56&lt;/P&gt;&lt;P&gt;But I don’t understand the syntax of writing a macro.&lt;/P&gt;&lt;P&gt;CREATE LEVEL a_$workplane.name MODELCOMPSET&lt;/P&gt;&lt;P&gt;I get MODELCOMPSET with the name "a_$workplane.name", I wanted it to be a_G56.&lt;/P&gt;</description>
    <pubDate>Sat, 21 Mar 2020 11:58:54 GMT</pubDate>
    <dc:creator>raffnecBNJ8C</dc:creator>
    <dc:date>2020-03-21T11:58:54Z</dc:date>
    <item>
      <title>Name MODELCOMPSET with workplane name</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/name-modelcompset-with-workplane-name/m-p/9391034#M12141</link>
      <description>&lt;P&gt;I want to create several MODELCOMPSET whose names will contain the name of the workplane name.&lt;BR /&gt;For instance:&lt;BR /&gt;a_G55&lt;BR /&gt;b_G55&lt;BR /&gt;a_G56&lt;BR /&gt;b_G56&lt;/P&gt;&lt;P&gt;But I don’t understand the syntax of writing a macro.&lt;/P&gt;&lt;P&gt;CREATE LEVEL a_$workplane.name MODELCOMPSET&lt;/P&gt;&lt;P&gt;I get MODELCOMPSET with the name "a_$workplane.name", I wanted it to be a_G56.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 11:58:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/name-modelcompset-with-workplane-name/m-p/9391034#M12141</guid>
      <dc:creator>raffnecBNJ8C</dc:creator>
      <dc:date>2020-03-21T11:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Name MODELCOMPSET with workplane name</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/name-modelcompset-with-workplane-name/m-p/9391070#M12142</link>
      <description>&lt;LI-CODE lang="csharp"&gt;FOREACH wp IN FOLDER("WORKPLANE") {
	STRING $newName = "a_" + $wp.Name
	IF NOT entity_exists(entity("Level",newName)) {
		CREATE LEVEL $newName MODELCOMPSET
	}
}&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 21 Mar 2020 12:37:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/name-modelcompset-with-workplane-name/m-p/9391070#M12142</guid>
      <dc:creator>rafael.sansao</dc:creator>
      <dc:date>2020-03-21T12:37:32Z</dc:date>
    </item>
  </channel>
</rss>

