<?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 : replace a character in file with a macro in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6709067#M30763</link>
    <description>&lt;P&gt;I don't know how is your postpro, but you should have a "Load tool" and a "Load tool first" sections. I have a Fanuc PP, where I write at least "Txx M06" in these sections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then another one is "Spindle on" where I write "Syyy M03".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to have a correct behaviour,&amp;nbsp;you should basically have these sections correctly defined. PowerMill gives these infos to PMPost in these sections, i.e. at the correct moment. You just have to translate them correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also a little trick: When you right click on the parameter, you can force the output to tape to "always", if yo want to always have this parameter written. If not, then you can choose "If updated".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Nov 2016 09:16:00 GMT</pubDate>
    <dc:creator>NanchenO</dc:creator>
    <dc:date>2016-11-25T09:16:00Z</dc:date>
    <item>
      <title>replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6685705#M30747</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;how can i replace a character in file with a macro on powermill.&lt;/P&gt;&lt;P&gt;for example :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;O6992&lt;BR /&gt;T30 M6&lt;BR /&gt;G8 P1&lt;BR /&gt;G0 G90 X74.057 Y-430.296 S12000 M3&lt;BR /&gt;G0 G43 Z12.021 H30 M8&lt;BR /&gt;Z5.0 F3000&lt;BR /&gt;G1 Z-1.791 F30000&lt;BR /&gt;Y-430.466&lt;BR /&gt;X74.173 Y-431.051&lt;BR /&gt;X74.505 Y-431.548&lt;BR /&gt;X75.003 Y-431.88&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to replace M3 by M3 T17&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;O6992&lt;BR /&gt;T30 M6&lt;BR /&gt;G8 P1&lt;BR /&gt;G0 G90 X74.057 Y-430.296 S12000 M3 T17&amp;nbsp;&lt;BR /&gt;G0 G43 Z12.021 H30 M8&lt;BR /&gt;Z5.0 F3000&lt;BR /&gt;G1 Z-1.791 F30000&lt;BR /&gt;Y-430.466&lt;BR /&gt;X74.173 Y-431.051&lt;BR /&gt;X74.505 Y-431.548&lt;BR /&gt;X75.003 Y-431.88&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if someone can help me&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 09:37:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6685705#M30747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-14T09:37:05Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6685742#M30748</link>
      <description>&lt;P&gt;HI @Anonymous﻿,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since it is in the NC program, I suggest that you do it in the postprocessor. You could do it adding a user variable in the toolpath, but it will be more reliable if you add the command in the postprocessor itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 09:53:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6685742#M30748</guid>
      <dc:creator>NanchenO</dc:creator>
      <dc:date>2016-11-14T09:53:55Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6685766#M30749</link>
      <description>&lt;P&gt;Thank you for your answer&lt;/P&gt;&lt;P&gt;but if i want to do with macro,&amp;nbsp;It is possible with string replace for example by using file open and replace?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 10:12:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6685766#M30749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-14T10:12:38Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6685876#M30750</link>
      <description>&lt;P&gt;Yes, it should. I never wrote such a macro.&amp;nbsp;I think, that it could be easier if you call a VB program with your macro and let the VB program do the job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 11:02:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6685876#M30750</guid>
      <dc:creator>NanchenO</dc:creator>
      <dc:date>2016-11-14T11:02:04Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6685897#M30751</link>
      <description>&lt;PRE&gt;FUNCTION Main(){
	//Path to file
	STRING projectPath = "D:\test.txt"
	STRING LIST lineList = {}
	INT a = 0
	
	//Read file
	IF length(projectPath) &amp;gt; 0 {
		FILE OPEN $projectPath FOR READ AS inFile
		FILE READ $lineList FROM inFile
		FILE CLOSE inFile
	}
	
	// Define replace character list
	STRING LIST replaceLineList = {}
	
	FOREACH line IN $lineList {
		STRING replaceLine = replace(line, "M3", "M3 T17") //Replace text
		$a = add_last(replaceLineList, $replaceLine)
	}
	
	$projectPath = substring($projectPath, 0, length($projectPath)-4)
	$projectPath = $projectPath + "_replace.txt"
	
	FILE OPEN $projectPath FOR WRITE AS out
	FOREACH line IN replaceLineList {
		FILE WRITE $line TO out
	}
	FILE CLOSE out
	
	MESSAGE INFO "Done"
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mateusz&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 11:16:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6685897#M30751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-14T11:16:39Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6686058#M30752</link>
      <description>&lt;P&gt;thank you, i'm going to try because for me 'M3 T17' and&amp;nbsp;'text.txt' are variables.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 13:06:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6686058#M30752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-14T13:06:41Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6701851#M30753</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;The calculation is too long to read all the file and write it.&amp;nbsp;The file has many lines.&lt;/P&gt;&lt;P&gt;Can just one look for characters and replace him without all to rewrite?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 08:53:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6701851#M30753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-22T08:53:57Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6704704#M30754</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;The calculation is too long to read all the file and write it.&amp;nbsp;The file has many lines.&lt;/P&gt;&lt;P&gt;Can just one look for characters and replace him without all to rewrite?&lt;/P&gt;&lt;P&gt;I would want to write directly in the file. I would want a macro in this style,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CD "F:\PWM\BLOCK"&lt;/P&gt;&lt;P&gt;STRING P = 6992&lt;BR /&gt;STRING m3 = "M3"&lt;BR /&gt;STRING TOOL = $m3 + " T17"&lt;BR /&gt;&lt;BR /&gt;STRING projectPath = "O" + $P&lt;BR /&gt;STRING Valuem3= M3&lt;BR /&gt;&lt;BR /&gt;FILE OPEN $projectPath FOR READ AS inFile&lt;BR /&gt;FILE READ $Valuem3 FROM inFile&lt;BR /&gt;FILE CLOSE inFile&lt;/P&gt;&lt;P&gt;FILE OPEN $projectPath FOR WRITE AS output&lt;BR /&gt;$Valuem3 = replace($Valuem3, $m3, $TOOL)&lt;BR /&gt;FILE CLOSE output&lt;/P&gt;&lt;P&gt;MESSAGE INFO "Done"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but it does not work, the file is empty after the calculation.&lt;BR /&gt;I am not strong for that&amp;nbsp;&lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://forums.autodesk.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank&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>Wed, 23 Nov 2016 09:51:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6704704#M30754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-23T09:51:47Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6704905#M30755</link>
      <description>&lt;P&gt;It is really difficult to make it faster. I'm affraid that my solution is fastest, if you will do this by macro. I suppose there is no faster way, like load the file to RAM memory, and all the operations do inside it. And my solution works like that.&lt;/P&gt;&lt;P&gt;In your code there is one big problem, you are trying to load the content of this file to String variable. This type of data has a limited length. I suppose you can save inside only 255 signs. This is much much less than you need.&lt;/P&gt;&lt;P&gt;By the way your file is empty, because you open file for write, but you didn't write anything.&lt;/P&gt;&lt;P&gt;I tested few possibilities, but at this time I didn't find better solution.&lt;/P&gt;&lt;P&gt;I have one more idea, but you have to wait to modify the code and test it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My question is, why you have to do this by PowerMill macro? Like &lt;STRONG&gt;Olivier&lt;/STRONG&gt; wrote, there is many better solutions to do this what you need.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Mateusz&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 11:36:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6704905#M30755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-23T11:36:42Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6704932#M30756</link>
      <description>&lt;P&gt;thanks for your answer &lt;U&gt;p&lt;/U&gt;iro_man.&lt;/P&gt;&lt;P&gt;I want&amp;nbsp;do&amp;nbsp;&lt;SPAN&gt;by PowerMill macro because at present I use a Python macro and I wish to make him directly on Powermill. On Python, works great&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 11:54:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6704932#M30756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-23T11:54:00Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6705222#M30757</link>
      <description>&lt;P&gt;Since you can call DOS or other functions with a macro, why don't you try to call Python from PowerMill with you macro as an argument ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 14:00:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6705222#M30757</guid>
      <dc:creator>NanchenO</dc:creator>
      <dc:date>2016-11-23T14:00:02Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6707187#M30758</link>
      <description>&lt;P&gt;Yes, I could call Python from Powermill, but it obliges me to have to inform variables under Powermill and under Python. It is not what I want just to change 2 characters&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 06:42:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6707187#M30758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-24T06:42:02Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6707558#M30759</link>
      <description>&lt;P&gt;PMPost does that clean and easily... was my first answer, I guess &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 10:31:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6707558#M30759</guid>
      <dc:creator>NanchenO</dc:creator>
      <dc:date>2016-11-24T10:31:14Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6707644#M30760</link>
      <description>&lt;P&gt;OK OK Olivier. I go and look at that. I never have to work on pmpost. I am going to begin in it and seeing how it works.&lt;BR /&gt;Thanks to all for your answers&lt;/P&gt;&lt;P&gt;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 11:26:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6707644#M30760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-24T11:26:52Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6707803#M30761</link>
      <description>&lt;P&gt;If you never used it, here are the first steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Take a sample project and post a NC program using File type = "Cutter location" instead of "NCProgram".&lt;/LI&gt;&lt;LI&gt;Copy it to the same location as your post pro.&lt;/LI&gt;&lt;LI&gt;MAKE A COPY OF THE ORIGINAL POSTPRO !!! (I still do it systematically... in case I make a big mistake).&lt;/LI&gt;&lt;LI&gt;Start a new PMPost session where you import your .pmpoptz post pro and the cutter location file.&lt;/LI&gt;&lt;LI&gt;Save the session to be able to retrieve it easily.&lt;/LI&gt;&lt;LI&gt;Right click on the program and "Process as debug".&lt;/LI&gt;&lt;LI&gt;In the result, locate the section that you want to modify and double-clic on it.&lt;/LI&gt;&lt;LI&gt;Then you can try to make your modifications, adding a postfix for instance.&lt;/LI&gt;&lt;LI&gt;Reprocess as debug and see if it matches your needs...&lt;/LI&gt;&lt;LI&gt;If yes, save your pmoptz and your session and make a live test with PowerMill, using some other NCprograms, if not, go back to 7. and perhaps have a look at the docs.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Olivier&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 13:12:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6707803#M30761</guid>
      <dc:creator>NanchenO</dc:creator>
      <dc:date>2016-11-24T13:12:54Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6709023#M30762</link>
      <description>&lt;P&gt;ok, thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I followed the steps, I understood the principle. Now, how make take a parameter in pmpost by knowing that following tools is in the following ncprogram. We make a program by tools&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 08:49:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6709023#M30762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-25T08:49:20Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6709067#M30763</link>
      <description>&lt;P&gt;I don't know how is your postpro, but you should have a "Load tool" and a "Load tool first" sections. I have a Fanuc PP, where I write at least "Txx M06" in these sections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then another one is "Spindle on" where I write "Syyy M03".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to have a correct behaviour,&amp;nbsp;you should basically have these sections correctly defined. PowerMill gives these infos to PMPost in these sections, i.e. at the correct moment. You just have to translate them correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also a little trick: When you right click on the parameter, you can force the output to tape to "always", if yo want to always have this parameter written. If not, then you can choose "If updated".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 09:16:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6709067#M30763</guid>
      <dc:creator>NanchenO</dc:creator>
      <dc:date>2016-11-25T09:16:00Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6709109#M30764</link>
      <description>&lt;P&gt;I also have pp Fanuc. " Load tool " and " Load tool first " OK&lt;BR /&gt;But for the next tool, I think that I has to create a parameter to look for it&amp;nbsp;in the following ncprogram and integrate it into pmpost ?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 09:33:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6709109#M30764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-25T09:33:07Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6709135#M30765</link>
      <description>&lt;P&gt;Thera are "Tool Name next" and "Tool number next", which work inside a ncprogram with different tools.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you post one program per tool, this info will not be available, I fear. In that case, you could define a user parameter in PowerMill and pass it to PmPost when posting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a look at &lt;A href="http://forum.delcam.com/viewtopic.php?f=14&amp;amp;t=11293&amp;amp;hilit=UDP&amp;amp;start=15" target="_self"&gt;http://forum.delcam.com/viewtopic.php?f=14&amp;amp;t=11293&amp;amp;hilit=UDP&amp;amp;start=15&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use a macro to write this parameter into my toolpathes and it is passed to PMPost, where I defined the corresponding parameter. Then, you can place this parameter where you need it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2016 09:48:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6709135#M30765</guid>
      <dc:creator>NanchenO</dc:creator>
      <dc:date>2016-11-25T09:48:18Z</dc:date>
    </item>
    <item>
      <title>Re : replace a character in file with a macro</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6772471#M30766</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;after several tries, i don't&amp;nbsp;understand where I can declare my&amp;nbsp;&lt;SPAN&gt;user parameter&amp;nbsp;of powermill to pmpost&amp;nbsp;&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://forums.autodesk.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sans titre 1.jpg" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/306021i88011162B84BF252/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sans titre 1.jpg" alt="Sans titre 1.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sans titre 2.jpg" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/306025i0ECE2ED999F09703/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sans titre 2.jpg" alt="Sans titre 2.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;can you help me please&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 11:33:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/replace-a-character-in-file-with-a-macro/m-p/6772471#M30766</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-28T11:33:28Z</dc:date>
    </item>
  </channel>
</rss>

