<?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: HELP MACRO in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11956155#M4075</link>
    <description>&lt;P&gt;Try this....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT PATTERN ; CURVEEDITOR START&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR MODE TEXT_HORIZONTAL&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR COLOUR SELECTED 0.00000 1.00000 0.00000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR TEXT JUSTIFY CENTRE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR TEXT FRAME_ORIGIN CENTRE_CENTRE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR TEXT FONT_FACE "Delcam Gothic"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR TEXT FONT_SIZE "5"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;MODE NOGUI COORDINPUT COORDINATES 0 45 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;string SS = $project_pathname(1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR TEXT SET_TEXT "\V{1}\F{Delcam Sans Serif;TT}\C{ff000000}\H{2}\S{0}\B{1}\I{1}\U{0}"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;print $SS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR TEXT INSERT $SS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;MODE NOGUI COORDINPUT COORDINATES 0 35 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#00FF00"&gt;REAL&lt;/FONT&gt; a = block.Limits.Zmax&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#00FF00"&gt;REAL&lt;/FONT&gt; a1 = block.Limits.Zmin&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#00FF00"&gt;//use Round(input here,No of decimal places here)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#00FF00"&gt;REAL&lt;/FONT&gt; z = &lt;FONT color="#00FF00"&gt;Round(&lt;/FONT&gt;($a+$a1*-1)+0.5&lt;FONT color="#00FF00"&gt;,0)&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;string T = "T= "+$z+""&lt;BR /&gt;print $T&lt;BR /&gt;CURVEEDITOR TEXT INSERT $T&lt;BR /&gt;CURVEEDITOR FINISH ACCEPT&lt;BR /&gt;EDIT PATTERN ; FLATTEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards Kevin&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 06:06:35 GMT</pubDate>
    <dc:creator>kevin.hammond3WX4X</dc:creator>
    <dc:date>2023-05-11T06:06:35Z</dc:date>
    <item>
      <title>HELP MACRO</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11953200#M4071</link>
      <description>&lt;P&gt;HELLO EVERYONE, HAVE A GOOD DAY,&lt;BR /&gt;I HAVE A PROBLEM THAT NEED TO BE SOLVED,&lt;BR /&gt;I HAVE USE A PATTERN LINE WRITE MACRO, I've tried many ways but can't solve it, SO PLEASE PLEASE HELP ME WITH THIS PROBLEM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT PATTERN ; CURVEEDITOR START&lt;BR /&gt;CURVEEDITOR MODE TEXT_HORIZONTAL&lt;BR /&gt;CURVEEDITOR COLOUR SELECTED 0.00000 1.00000 0.00000&lt;BR /&gt;CURVEEDITOR TEXT JUSTIFY CENTRE&lt;BR /&gt;CURVEEDITOR TEXT FRAME_ORIGIN CENTRE_CENTRE&lt;BR /&gt;CURVEEDITOR TEXT FONT_FACE "Delcam Gothic"&lt;BR /&gt;CURVEEDITOR TEXT FONT_SIZE "5"&lt;BR /&gt;MODE NOGUI COORDINPUT COORDINATES 0 45 0&lt;BR /&gt;string SS = $project_pathname(1)&lt;BR /&gt;CURVEEDITOR TEXT SET_TEXT "\V{1}\F{Delcam Sans Serif;TT}\C{ff000000}\H{2}\S{0}\B{1}\I{1}\U{0}"&lt;BR /&gt;print $SS&lt;BR /&gt;CURVEEDITOR TEXT INSERT $SS&lt;BR /&gt;MODE NOGUI COORDINPUT COORDINATES 0 35 0&lt;BR /&gt;INT a = block.Limits.Zmax&lt;BR /&gt;INT a1 = block.Limits.Zmin&lt;BR /&gt;INT z = ($a+$a1*-1)+0.5&lt;BR /&gt;string T = "T= "+$z+""&lt;BR /&gt;print $T&lt;BR /&gt;CURVEEDITOR TEXT INSERT $T&lt;BR /&gt;CURVEEDITOR FINISH ACCEPT&lt;BR /&gt;EDIT PATTERN ; FLATTEN&lt;BR /&gt;//Dialogs message off&lt;BR /&gt;//Dialogs error off&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 02:43:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11953200#M4071</guid>
      <dc:creator>phocvet</dc:creator>
      <dc:date>2023-05-10T02:43:46Z</dc:date>
    </item>
    <item>
      <title>Betreff: HELP MACRO</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11955002#M4072</link>
      <description>&lt;P&gt;I think in the lines...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;INT a = block.Limits.Zmax&lt;BR /&gt;INT a1 = block.Limits.Zmin&lt;BR /&gt;INT z = ($a+$a1*-1)+0.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... "INT" is the wrong variable type. Perhaps it will work with "REAL".&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 17:23:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11955002#M4072</guid>
      <dc:creator>old_snickers</dc:creator>
      <dc:date>2023-05-10T17:23:04Z</dc:date>
    </item>
    <item>
      <title>Betreff: HELP MACRO</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11955994#M4073</link>
      <description>it still works fine, but it doesn't convert to integer, for example if the total height is 62 then it will print out 62, not round to 65, what i want to change here is to make the number even That is, in the frame of the total height 56-59, round 60, and 61-64 round up to 65</description>
      <pubDate>Thu, 11 May 2023 03:35:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11955994#M4073</guid>
      <dc:creator>phocvet</dc:creator>
      <dc:date>2023-05-11T03:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: HELP MACRO</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11955995#M4074</link>
      <description>&lt;P&gt;it still works fine, but it doesn't convert to integer, for example if the total height is 62 then it will print out 62, not round to 65, what i want to change here is to make the number even That is, in the frame of the total height 56-59, round 60, and 61-64 round up to 65&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 03:35:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11955995#M4074</guid>
      <dc:creator>phocvet</dc:creator>
      <dc:date>2023-05-11T03:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: HELP MACRO</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11956155#M4075</link>
      <description>&lt;P&gt;Try this....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT PATTERN ; CURVEEDITOR START&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR MODE TEXT_HORIZONTAL&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR COLOUR SELECTED 0.00000 1.00000 0.00000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR TEXT JUSTIFY CENTRE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR TEXT FRAME_ORIGIN CENTRE_CENTRE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR TEXT FONT_FACE "Delcam Gothic"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR TEXT FONT_SIZE "5"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;MODE NOGUI COORDINPUT COORDINATES 0 45 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;string SS = $project_pathname(1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR TEXT SET_TEXT "\V{1}\F{Delcam Sans Serif;TT}\C{ff000000}\H{2}\S{0}\B{1}\I{1}\U{0}"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;print $SS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;CURVEEDITOR TEXT INSERT $SS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;MODE NOGUI COORDINPUT COORDINATES 0 35 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#00FF00"&gt;REAL&lt;/FONT&gt; a = block.Limits.Zmax&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#00FF00"&gt;REAL&lt;/FONT&gt; a1 = block.Limits.Zmin&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#00FF00"&gt;//use Round(input here,No of decimal places here)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#00FF00"&gt;REAL&lt;/FONT&gt; z = &lt;FONT color="#00FF00"&gt;Round(&lt;/FONT&gt;($a+$a1*-1)+0.5&lt;FONT color="#00FF00"&gt;,0)&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;string T = "T= "+$z+""&lt;BR /&gt;print $T&lt;BR /&gt;CURVEEDITOR TEXT INSERT $T&lt;BR /&gt;CURVEEDITOR FINISH ACCEPT&lt;BR /&gt;EDIT PATTERN ; FLATTEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards Kevin&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 06:06:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11956155#M4075</guid>
      <dc:creator>kevin.hammond3WX4X</dc:creator>
      <dc:date>2023-05-11T06:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: HELP MACRO</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11956238#M4076</link>
      <description>&lt;P&gt;thank you, but this is still not what i was looking for,&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 06:57:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11956238#M4076</guid>
      <dc:creator>phocvet</dc:creator>
      <dc:date>2023-05-11T06:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: HELP MACRO</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11956752#M4077</link>
      <description>&lt;P&gt;test this..........&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CURVEEDITOR TEXT JUSTIFY CENTRE&lt;BR /&gt;CURVEEDITOR TEXT FRAME_ORIGIN CENTRE_CENTRE&lt;BR /&gt;CURVEEDITOR TEXT FONT_FACE "Delcam Gothic"&lt;BR /&gt;CURVEEDITOR TEXT FONT_SIZE "5"&lt;BR /&gt;MODE NOGUI COORDINPUT COORDINATES 0 45 0&lt;BR /&gt;string SS = $project_pathname(1)&lt;BR /&gt;CURVEEDITOR TEXT SET_TEXT "\V{1}\F{Delcam Sans Serif;TT}\C{ff000000}\H{2}\S{0}\B{1}\I{1}\U{0}"&lt;BR /&gt;print $SS&lt;BR /&gt;CURVEEDITOR TEXT INSERT $SS&lt;BR /&gt;MODE NOGUI COORDINPUT COORDINATES 0 35 0&lt;BR /&gt;INT a = block.Limits.Zmax&lt;BR /&gt;INT a1 = block.Limits.Zmin&lt;BR /&gt;//use Round(input here,No of decimal places here)&lt;BR /&gt;INT z = ($a+$a1*-1)+0.5&lt;BR /&gt;INT z2 = $Z/5&lt;BR /&gt;INT Z3 = Z2*5&lt;BR /&gt;string T = "T= "+$z3+""&lt;BR /&gt;print $T&lt;BR /&gt;CURVEEDITOR TEXT INSERT $T&lt;BR /&gt;CURVEEDITOR FINISH ACCEPT&lt;BR /&gt;EDIT PATTERN ; FLATTEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards Kevin&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 11:27:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11956752#M4077</guid>
      <dc:creator>kevin.hammond3WX4X</dc:creator>
      <dc:date>2023-05-11T11:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: HELP MACRO</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11956761#M4078</link>
      <description>&lt;P&gt;thanks, i solved the problem&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 11:30:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11956761#M4078</guid>
      <dc:creator>phocvet</dc:creator>
      <dc:date>2023-05-11T11:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: HELP MACRO</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11956765#M4079</link>
      <description>&lt;P&gt;EDIT PATTERN ; CURVEEDITOR START&lt;BR /&gt;CURVEEDITOR MODE TEXT_HORIZONTAL&lt;BR /&gt;CURVEEDITOR COLOUR SELECTED 0.00000 1.00000 0.00000&lt;BR /&gt;CURVEEDITOR TEXT JUSTIFY CENTRE&lt;BR /&gt;CURVEEDITOR TEXT FRAME_ORIGIN CENTRE_CENTRE&lt;BR /&gt;CURVEEDITOR TEXT FONT_FACE "Delcam Gothic"&lt;BR /&gt;CURVEEDITOR TEXT FONT_SIZE "5"&lt;BR /&gt;MODE NOGUI COORDINPUT COORDINATES 0 45 0&lt;BR /&gt;string SS = $project_pathname(1)&lt;BR /&gt;CURVEEDITOR TEXT SET_TEXT "\V{1}\F{Delcam Sans Serif;TT}\C{ff000000}\H{2}\S{0}\B{1}\I{1}\U{0}"&lt;BR /&gt;print $SS&lt;BR /&gt;CURVEEDITOR TEXT INSERT $SS&lt;BR /&gt;MODE NOGUI COORDINPUT COORDINATES 0 35 0&lt;BR /&gt;INT a = (int((Block.Limits.ZMax/5)+1))*5&lt;BR /&gt;INT a1 = block.Limits.Zmin&lt;BR /&gt;INT z = ($a+$a1)&lt;BR /&gt;string T = "T= "+$z+""&lt;BR /&gt;print $T&lt;BR /&gt;CURVEEDITOR TEXT INSERT $T&lt;BR /&gt;CURVEEDITOR FINISH ACCEPT&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 11:31:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/help-macro/m-p/11956765#M4079</guid>
      <dc:creator>phocvet</dc:creator>
      <dc:date>2023-05-11T11:31:32Z</dc:date>
    </item>
  </channel>
</rss>

