<?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 Curve editor macro in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12918189#M1501</link>
    <description>&lt;P&gt;im making a macro to create text and i seen something on here about that but it didnt work and anything ive made just breaks.&amp;nbsp;&lt;BR /&gt;the macro is supposed to ask what text you want and it creates text at cord 0,0,0 .......... sets the text size and font.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THIS IS WHAT I MADE:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;//SELECT A TOOL
string toolSelected = input entity Tool "Choose a tool"

ACTIVATE Tool $toolSelected

CREATE PATTERN ; "ENGRAVING"

EDIT PATTERN ; CURVEEDITOR START

CURVEEDITOR MODE TEXT_HORIZONTAL

MODE POSITION START

MODE POSITION CARTESIAN X "0"
MODE POSITION CARTESIAN Y "0"
MODE POSITION CARTESIAN Z "0"
POSITION APPLY

//FONT SETTINGS 
CURVEEDITOR TEXT FONT_SIZE ".125"

CURVEEDITOR TEXT FONT_FACE "Delcam Gothic"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;THIS IS WHAT THE OTHER POST HAD:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;IF NOT entity_exists('pattern','') {
 RETURN
}
STRING p=entity('pattern','').Name
STRING t=Input 'Text?'
$t='CURVEEDITOR TEXT SET_TEXT "\F \C!4\H ]\S \B \I \U '+$t+'"'
ACTIVATE Pattern $p
EDIT PATTERN $p CURVEEDITOR NOGUI START
CURVEEDITOR MODE TEXT_HORIZONTAL
MODE COORDINPUT COORDINATES 0 0 0
DoCommand $t
CURVEEDITOR TEXT FINISH
CURVEEDITOR FINISH ACCEPT&lt;/LI-CODE&gt;&lt;P&gt;from the other post it works untill "DoCommand" then it errors&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2024 22:23:45 GMT</pubDate>
    <dc:creator>jsweatherbie</dc:creator>
    <dc:date>2024-07-24T22:23:45Z</dc:date>
    <item>
      <title>Curve editor macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12918189#M1501</link>
      <description>&lt;P&gt;im making a macro to create text and i seen something on here about that but it didnt work and anything ive made just breaks.&amp;nbsp;&lt;BR /&gt;the macro is supposed to ask what text you want and it creates text at cord 0,0,0 .......... sets the text size and font.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THIS IS WHAT I MADE:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;//SELECT A TOOL
string toolSelected = input entity Tool "Choose a tool"

ACTIVATE Tool $toolSelected

CREATE PATTERN ; "ENGRAVING"

EDIT PATTERN ; CURVEEDITOR START

CURVEEDITOR MODE TEXT_HORIZONTAL

MODE POSITION START

MODE POSITION CARTESIAN X "0"
MODE POSITION CARTESIAN Y "0"
MODE POSITION CARTESIAN Z "0"
POSITION APPLY

//FONT SETTINGS 
CURVEEDITOR TEXT FONT_SIZE ".125"

CURVEEDITOR TEXT FONT_FACE "Delcam Gothic"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;THIS IS WHAT THE OTHER POST HAD:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;IF NOT entity_exists('pattern','') {
 RETURN
}
STRING p=entity('pattern','').Name
STRING t=Input 'Text?'
$t='CURVEEDITOR TEXT SET_TEXT "\F \C!4\H ]\S \B \I \U '+$t+'"'
ACTIVATE Pattern $p
EDIT PATTERN $p CURVEEDITOR NOGUI START
CURVEEDITOR MODE TEXT_HORIZONTAL
MODE COORDINPUT COORDINATES 0 0 0
DoCommand $t
CURVEEDITOR TEXT FINISH
CURVEEDITOR FINISH ACCEPT&lt;/LI-CODE&gt;&lt;P&gt;from the other post it works untill "DoCommand" then it errors&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 22:23:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12918189#M1501</guid>
      <dc:creator>jsweatherbie</dc:creator>
      <dc:date>2024-07-24T22:23:45Z</dc:date>
    </item>
    <item>
      <title>Betreff: Curve editor macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12918759#M1502</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;string $input = input 'Text:'

string $patternName = 'ENGRAVING'
if entity_exists('pattern',$patternName) {
	$patternName = new_entity_name('pattern',$patternName)
}
create pattern ${patternName}
EDIT PATTERN ${patternName} CURVEEDITOR START
CURVEEDITOR MODE TEXT_HORIZONTAL
MODE COORDINPUT COORDINATES 0 0 0

string $cmd = 'CURVEEDITOR TEXT SET_TEXT "\V{1}\F{Delcam Gothic;TT}\C{ffffffff}\H{5}\S{0}\B{0}\I{0}\U{0}' + $input + '"'
DoCommand $cmd

CURVEEDITOR TEXT FINISH
CURVEEDITOR FINISH ACCEPT&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 25 Jul 2024 06:42:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12918759#M1502</guid>
      <dc:creator>icse</dc:creator>
      <dc:date>2024-07-25T06:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Curve editor macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12918785#M1503</link>
      <description>&lt;P&gt;At the risk of asking a silly question, have you tried the Text creator plugin that ships with Powermill, i find its does a good job&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kevinhammond3WX4X_0-1721890932297.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1390808i86012AF7FEAAE330/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kevinhammond3WX4X_0-1721890932297.png" alt="kevinhammond3WX4X_0-1721890932297.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 07:02:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12918785#M1503</guid>
      <dc:creator>kevin.hammond3WX4X</dc:creator>
      <dc:date>2024-07-25T07:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Curve editor macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12919222#M1504</link>
      <description>&lt;P&gt;Hmmm,&lt;/P&gt;&lt;P&gt;I had this once upon a time but for some reason it seems to have gone, is there a link to this plugin?&lt;/P&gt;&lt;P&gt;Regards Jon K&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 11:07:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12919222#M1504</guid>
      <dc:creator>evo80</dc:creator>
      <dc:date>2024-07-25T11:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Curve editor macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12919263#M1505</link>
      <description>&lt;P&gt;C:\Program Files\Autodesk\PowerMill 2025\file\plugins\installers\plugins&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="kevinhammond3WX4X_0-1721907448185.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1390892iDF6E71365EAEAB7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kevinhammond3WX4X_0-1721907448185.png" alt="kevinhammond3WX4X_0-1721907448185.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 11:37:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12919263#M1505</guid>
      <dc:creator>kevin.hammond3WX4X</dc:creator>
      <dc:date>2024-07-25T11:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Curve editor macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12919289#M1506</link>
      <description>&lt;P&gt;Aaah, there it is!&lt;/P&gt;&lt;P&gt;Cheers Kevin!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 11:52:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12919289#M1506</guid>
      <dc:creator>evo80</dc:creator>
      <dc:date>2024-07-25T11:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Curve editor macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12919305#M1507</link>
      <description>&lt;P&gt;Delcam San Serif looks a bit weird??&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 12:01:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12919305#M1507</guid>
      <dc:creator>evo80</dc:creator>
      <dc:date>2024-07-25T12:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Curve editor macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12919389#M1508</link>
      <description>&lt;P&gt;Alright on my telly , i have attached the delcam fonts i could find on my pc from&amp;nbsp;C:\Windows\Fonts.&lt;/P&gt;&lt;P&gt;Try one of these to see if it helps.&lt;/P&gt;&lt;P&gt;Also note, in case you are not aware, that clicking the 'A' box on the font line toggles between all fonts and single line fonts.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kevinhammond3WX4X_0-1721910836144.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1390903iE577B3378D765DD1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kevinhammond3WX4X_0-1721910836144.png" alt="kevinhammond3WX4X_0-1721910836144.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 12:46:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12919389#M1508</guid>
      <dc:creator>kevin.hammond3WX4X</dc:creator>
      <dc:date>2024-07-25T12:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Curve editor macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12919480#M1509</link>
      <description>&lt;P&gt;Toggling the 'A' box to single line fonts rectified the issue.&lt;/P&gt;&lt;P&gt;Thanks for the tip!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 13:28:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12919480#M1509</guid>
      <dc:creator>evo80</dc:creator>
      <dc:date>2024-07-25T13:28:37Z</dc:date>
    </item>
    <item>
      <title>Betreff: Curve editor macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12920490#M1510</link>
      <description>&lt;P&gt;youre a life saver and a headache saver&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12508795"&gt;@jsweatherbie&lt;/a&gt;&amp;nbsp;-&amp;nbsp;this post has been edited due to &lt;A href="https://forums.autodesk.com/t5/forum-user-guides/community-rules-and-etiquette/td-p/9581007" target="_blank"&gt;Community Rules &amp;amp; Etiquette violation&lt;/A&gt;.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 21:03:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/curve-editor-macro/m-p/12920490#M1510</guid>
      <dc:creator>jsweatherbie</dc:creator>
      <dc:date>2024-07-25T21:03:57Z</dc:date>
    </item>
  </channel>
</rss>

