<?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: Need a help. Create one or more Boundary. If more than one , combine them together. in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12333295#M3235</link>
    <description>&lt;P&gt;this gives you the diameter of the first hole in the active featureset:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;real $dia = components(entity('featureset',''))[0].Diameter&lt;/LI-CODE&gt;&lt;P&gt;this gives you the x y z coordinates:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;real $x= components(entity('featureset',''))[0].WPPoint[0]
real $y= components(entity('featureset',''))[0].WPPoint[1]
real $z= components(entity('featureset',''))[0].WPPoint[2]&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 26 Oct 2023 16:09:11 GMT</pubDate>
    <dc:creator>icse</dc:creator>
    <dc:date>2023-10-26T16:09:11Z</dc:date>
    <item>
      <title>Need a help. Create one or more Boundary. If more than one , combine them together.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12286933#M3228</link>
      <description>&lt;P&gt;The macro I made doesn't work. Also, I don't know how to combine that two Boundary together. Because I don't know the Boundary name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//-------------------------------------&lt;/P&gt;&lt;P&gt;ROTATE TRANSFORM TOP&lt;BR /&gt;DELETE SCALE&lt;/P&gt;&lt;P&gt;ACTIVATE FEATURESET ; FORM EDITHOLE&lt;BR /&gt;EDIT FEATURESET ; FEATURE SELECTION 0&lt;BR /&gt;REAL $R0=$widget("EditHole.Shell.Geom.UpperDia").value&lt;BR /&gt;$R0=$R0*0.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FOREACH f IN components(entity('featureset','')) {&lt;BR /&gt;EDIT FEATURESET ; DESELECT ALL&lt;BR /&gt;EDIT FEATURESET # SELECT $f.name&lt;/P&gt;&lt;P&gt;//X,Y,Z&lt;BR /&gt;real $X=$widget("EditHole.Shell.Geom.PosFrame.X").value&lt;BR /&gt;real $Y=$widget("EditHole.Shell.Geom.PosFrame.Y").value&lt;BR /&gt;real $Z=$widget("EditHole.Shell.Geom.PosFrame.Z").value&lt;BR /&gt;FORM CANCEL EDITHOLE&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CREATE BOUNDARY ; SKETCH FORM BOUNDARY&lt;BR /&gt;EDIT BOUNDARY ; PRIVATE NO&lt;BR /&gt;EDIT BOUNDARY ; AUTOREPLAY NO&lt;BR /&gt;EDIT BOUNDARY ; CURVEEDITOR START&lt;BR /&gt;CURVEEDITOR MODE CIRCLE&lt;BR /&gt;CURVEEDITOR CIRCLE RADIUS $R0&lt;BR /&gt;MODE COORDINPUT COORDINATES $X $Y $Z&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;//COMBINE THEM TOGETHER&lt;/P&gt;&lt;P&gt;EDIT Boundary $first_one INSERT Boundary $second_one&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//I don't know how to get the Boundary name&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-1696536576016.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1275882i957F95664A56B5B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peterquRXR7S_0-1696536576016.png" alt="peterquRXR7S_0-1696536576016.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 20:12:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12286933#M3228</guid>
      <dc:creator>peterquRXR7S</dc:creator>
      <dc:date>2023-10-05T20:12:02Z</dc:date>
    </item>
    <item>
      <title>Betreff: Need a help. Create one or more Boundary. If more than one , combine them together.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12288606#M3229</link>
      <description>&lt;P&gt;&lt;STRONG&gt;So you whant to draw a circle for each hole of the active featureset in one boundary? Thats pretty easy i can write you a macro for that when im back at my work.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 06:04:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12288606#M3229</guid>
      <dc:creator>icse</dc:creator>
      <dc:date>2023-10-06T06:04:40Z</dc:date>
    </item>
    <item>
      <title>Betreff: Need a help. Create one or more Boundary. If more than one , combine them together.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12288766#M3230</link>
      <description>&lt;P&gt;does this work for you?&lt;/P&gt;&lt;LI-CODE lang="general"&gt;if not entity_exists(entity('featureset','')) or size(components(entity('featureset',''))) == 0 {
	return
}
entity $fs = entity('featureset','')
ACTIVATE WORKPLANE FROMENTITY FEATURESET ${fs.Name}
string $boundaryName = $fs.Name
if entity_exists('boundary',$boundaryName) {
	$boundaryName = new_entity_Name('boundary',$boundaryName)
}

CREATE BOUNDARY ${boundaryName}
EDIT BOUNDARY ${boundaryName} PRIVATE NO
EDIT BOUNDARY ${boundaryName} AUTOREPLAY NO
EDIT BOUNDARY ${boundaryName} CURVEEDITOR START
CURVEEDITOR MODE CIRCLE

foreach $f in components($fs) {
	
	CURVEEDITOR CIRCLE RADIUS ${f.Diameter / 2}
	MODE COORDINPUT COORDINATES $f.WPPoint[0] $f.WPPoint[1] $f.WPPoint[2]
}
CURVEEDITOR FINISH accept&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 06 Oct 2023 07:53:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12288766#M3230</guid>
      <dc:creator>icse</dc:creator>
      <dc:date>2023-10-06T07:53:14Z</dc:date>
    </item>
    <item>
      <title>Betreff: Need a help. Create one or more Boundary. If more than one , combine them together.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12289080#M3231</link>
      <description>&lt;P&gt;Thank you so much!&amp;nbsp; Your macro is professional. There is one small issue, the position is not right. I guess you use world coordinate.&amp;nbsp;&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-1696589326212.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1276063i4E663AE5465AA662/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peterquRXR7S_0-1696589326212.png" alt="peterquRXR7S_0-1696589326212.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 10:49:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12289080#M3231</guid>
      <dc:creator>peterquRXR7S</dc:creator>
      <dc:date>2023-10-06T10:49:37Z</dc:date>
    </item>
    <item>
      <title>Betreff: Need a help. Create one or more Boundary. If more than one , combine them together.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12289346#M3232</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peterquRXR7S_0-1696596590630.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1276109i70452443FD008AC2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peterquRXR7S_0-1696596590630.png" alt="peterquRXR7S_0-1696596590630.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I use current work plane and your program works fine. Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 12:51:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12289346#M3232</guid>
      <dc:creator>peterquRXR7S</dc:creator>
      <dc:date>2023-10-06T12:51:03Z</dc:date>
    </item>
    <item>
      <title>Betreff: Need a help. Create one or more Boundary. If more than one , combine them together.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12289356#M3233</link>
      <description>&lt;P&gt;It actually uses the workplane of the active featurest:&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;ACTIVATE WORKPLANE FROMENTITY FEATURESET ${fs.Name}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can change it to whatever workplane you whant just by replaceing this line,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this uses the workplane of the active toolpath:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;activate workplane ${entity('toolpath','').Workplane.Name}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this activates the worplane with the name 'myWorkplane'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;activate workplane 'myWorkplane'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you delete this line it just takes the active workplane&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 12:55:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12289356#M3233</guid>
      <dc:creator>icse</dc:creator>
      <dc:date>2023-10-06T12:55:32Z</dc:date>
    </item>
    <item>
      <title>Betreff: Need a help. Create one or more Boundary. If more than one , combine them together.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12332787#M3234</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Another question. How can I get the diameter and position of one specific feature, Say the first hole.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Something likes this,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CURVEEDITOR CIRCLE RADIUS ${CLEARANCE-THRU-.500-DIA-.697-ORING-CUP_D1_1.Diameter / 2}&lt;BR /&gt;MODE COORDINPUT COORDINATES $CLEARANCE-THRU-.500-DIA-.697-ORING-CUP_D1_1.WPPoint[0] $CLEARANCE-THRU-.500-DIA-.697-ORING-CUP_D1_1.WPPoint[1] $CLEARANCE-THRU-.500-DIA-.697-ORING-CUP_D1_1.WPPoint[2]&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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-1698326090932.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1284213i2B7F54576249C689/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peterquRXR7S_0-1698326090932.png" alt="peterquRXR7S_0-1698326090932.png" /&gt;&lt;/span&gt;&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>Thu, 26 Oct 2023 13:20:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12332787#M3234</guid>
      <dc:creator>peterquRXR7S</dc:creator>
      <dc:date>2023-10-26T13:20:01Z</dc:date>
    </item>
    <item>
      <title>Betreff: Need a help. Create one or more Boundary. If more than one , combine them together.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12333295#M3235</link>
      <description>&lt;P&gt;this gives you the diameter of the first hole in the active featureset:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;real $dia = components(entity('featureset',''))[0].Diameter&lt;/LI-CODE&gt;&lt;P&gt;this gives you the x y z coordinates:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;real $x= components(entity('featureset',''))[0].WPPoint[0]
real $y= components(entity('featureset',''))[0].WPPoint[1]
real $z= components(entity('featureset',''))[0].WPPoint[2]&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 26 Oct 2023 16:09:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12333295#M3235</guid>
      <dc:creator>icse</dc:creator>
      <dc:date>2023-10-26T16:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help. Create one or more Boundary. If more than one , combine them together.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12333447#M3236</link>
      <description>&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 16:58:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/need-a-help-create-one-or-more-boundary-if-more-than-one-combine/m-p/12333447#M3236</guid>
      <dc:creator>peterquRXR7S</dc:creator>
      <dc:date>2023-10-26T16:58:54Z</dc:date>
    </item>
  </channel>
</rss>

