Buongiorno a tutti e buon Natale.
Esiste una macro per associare un post processor ad un progetto?
Avendo piu sessioni aperte di powermill mi sarebbe utile.
Grazie a tutti e buona giornata.
Solved! Go to Solution.
Solved by Filippo_Borgato_CF. Go to Solution.
E' sempre preferibile scrivere in inglese in questo forum. Ad ogni modo, personalmente non ho ben compreso la tua richiesta: potresti spiegarti meglio? Che cosa dovebbe fare la macro che chiedi?
Good morning, I apologize but I did not know about this rule (write in English).
Regarding the macro I would understand if there is the possibility of making sure that at the beginning of the project the post processor and the work plan with which to create the tool paths are chosen.
Thanks
By click:
By macro:
string piani=""
$piani= INPUT ENTITY WORKPLANE "seleziona il piano di lavoro per il post processing"
EDIT NCPROGRAM PREFERENCES WORKPLANE $piani
string post=""
$post = FILESELECT "scegli il post processor da usare" "*.pmopt;*.pmoptz;*.opt" "C:"
EDIT NCPROGRAM PREFERENCES TAPEOPTIONS $post FORM ACCEPT SelectOptionFile
message info "fatto"
Thank you Mr. Borgato,
during these holidays I will try your solutions.
I usually use his first solution, and this works for me, except that having multiple powermill sessions open I think something isn't working...
It seems to me that if I go from one session to another the post processor and plans change...
Sure, I'll try it in the next days.
Thank you.
P.S. I remeber meeting her (not personally but by telephone)
@PCTECNI5 wrote:
P.S. I remeber meeting her (not personally but by telephone)
the world is small, and our world is even smaller!
---------
You can replace the directory where to look the post processors: in my example macro refers to C, but you can put whatever you want:
$post = FILESELECT "scegli il post processor da usare" "*.pmopt;*.pmoptz;*.opt" "C:"
$post = FILESELECT "scegli il post processor da usare" "*.pmopt;*.pmoptz;*.opt" "C:\dcam"
$post = FILESELECT "scegli il post processor da usare" "*.pmopt;*.pmoptz;*.opt" "D:\impostazioni_Powermill\post processor"
Can't find what you're looking for? Ask the community or share your knowledge.