<?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: How do i get bounding box of a surface in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/how-do-i-get-bounding-box-of-a-surface/m-p/11703816#M4738</link>
    <description>&lt;P&gt;yes I get what you are doing, yeah I just select the surface or object and make a block&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2023 08:31:06 GMT</pubDate>
    <dc:creator>clifford.gage</dc:creator>
    <dc:date>2023-01-25T08:31:06Z</dc:date>
    <item>
      <title>How do i get bounding box of a surface</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-do-i-get-bounding-box-of-a-surface/m-p/11691082#M4735</link>
      <description>&lt;P&gt;I found this "PowerMill Parameter Reference" but i cant get to work.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;"$lims = limits(entity('model', 'my model').hierarchy.components)"&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I have a list of selected surface names that I like the&amp;nbsp;XYZ limits of.&lt;/P&gt;&lt;P&gt;*******************************************************************************************&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF9900"&gt;&lt;EM&gt;array&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;limits(&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;entity&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ref )&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;&lt;EM&gt;array&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;limits(&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;string&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;type,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;string&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;name )&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;&lt;EM&gt;array&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;limits(&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;object&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;object )&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;&lt;EM&gt;array&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;limits(&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;data&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;data )&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF9900"&gt;The entity parameter must be either an nc program, toolpath, boundary, pattern, featureset or model.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;The object parameter must be a block map.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;The data parameter must contain a ModelCompList or ModelCompSet. Otherwise an error will be returned.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;The Toolpaths must be calculated before calling this function. Otherwise, the Toolpath / NC Program limits will be invalid / will not be accounted.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;Returns an array of 6 real values that hold the XYZ limits of the entity. The returned array can be used to initialize or assign to another array or list.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;The limits are computed with regards to the active workplane. If it's required to be computed with regards to a specific workplane, use the limits_workplane_rel() function.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;REAL ARRAY lims[] = limits(Boundary)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;$lims = limits('model','my model')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;$lims = limits(Toolpath.block)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;$lims = limits(entity('model', 'my model').hierarchy.components) &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;&lt;FONT color="#0000FF"&gt;*what do i add here, to get values for one surface ?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;NOTE that the returned values in the array are as follows&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;array[0] = Minimum X value.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;array[1] = Maximum X value.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;array[2] = Minimum Y value.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;array[3] = Maximum Y value.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;array[4] = Minimum Z value.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;array[5] = Maximum Z value.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 16:47:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-do-i-get-bounding-box-of-a-surface/m-p/11691082#M4735</guid>
      <dc:creator>per.soerensen2EV6F</dc:creator>
      <dc:date>2023-01-19T16:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get bounding box of a surface</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-do-i-get-bounding-box-of-a-surface/m-p/11701366#M4736</link>
      <description>&lt;P&gt;What are you trying to do? What is a bounding box.&lt;/P&gt;&lt;P&gt;Is it just to create a boundary of a surface?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 10:57:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-do-i-get-bounding-box-of-a-surface/m-p/11701366#M4736</guid>
      <dc:creator>clifford.gage</dc:creator>
      <dc:date>2023-01-24T10:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get bounding box of a surface</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-do-i-get-bounding-box-of-a-surface/m-p/11703788#M4737</link>
      <description>The "limits" command gives you the max min value in X,Y,Z of a object.(bounding box)&lt;BR /&gt;It is like using the "BLOCK" but without having to reset the BLOCK after.</description>
      <pubDate>Wed, 25 Jan 2023 08:19:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-do-i-get-bounding-box-of-a-surface/m-p/11703788#M4737</guid>
      <dc:creator>per.soerensen2EV6F</dc:creator>
      <dc:date>2023-01-25T08:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get bounding box of a surface</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-do-i-get-bounding-box-of-a-surface/m-p/11703816#M4738</link>
      <description>&lt;P&gt;yes I get what you are doing, yeah I just select the surface or object and make a block&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 08:31:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-do-i-get-bounding-box-of-a-surface/m-p/11703816#M4738</guid>
      <dc:creator>clifford.gage</dc:creator>
      <dc:date>2023-01-25T08:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get bounding box of a surface</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-do-i-get-bounding-box-of-a-surface/m-p/11704004#M4739</link>
      <description>&lt;P&gt;See link below, this may help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/powermill-forum/get-min-z-of-selected-surface/m-p/10305285#M23578" target="_blank"&gt;https://forums.autodesk.com/t5/powermill-forum/get-min-z-of-selected-surface/m-p/10305285#M23578&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 10:05:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-do-i-get-bounding-box-of-a-surface/m-p/11704004#M4739</guid>
      <dc:creator>kevin.hammond3WX4X</dc:creator>
      <dc:date>2023-01-25T10:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do i get bounding box of a surface</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/how-do-i-get-bounding-box-of-a-surface/m-p/11704307#M4740</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;This do not work if you are working with no popups or gui.&lt;/P&gt;&lt;P&gt;I now several workarounds but why cant I use&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;"limits('model','my model').surface.name"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 12:20:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/how-do-i-get-bounding-box-of-a-surface/m-p/11704307#M4740</guid>
      <dc:creator>per.soerensen2EV6F</dc:creator>
      <dc:date>2023-01-25T12:20:53Z</dc:date>
    </item>
  </channel>
</rss>

