

{Famous last words.... How complicated can it be.... }

You can't remove the tool dropdown but you coud do the rest by using custom tool variables. post.DefineCustomToolParam also works for operations so for instance you could use something like this to define a material thickness option:
Yes, I finally got the post.DefineCustomToolParam to work so the plugin isn't that urgent anymore. But the purpose with it was to be able to just fill in the thickness and material type instead of creating numerous of tools. 4 different materials and 10 different thickness and some different nozzles on top of that may give you over 80 tools. That seems just confusing to me, so therefore I were thinking over this plugin. The tool dropdown does not need to disappear. It would be great to chose nozzle from.Les Newell wrote: ↑Mon Feb 11, 2019 12:39 pmYou can't remove the tool dropdown but you coud do the rest by using custom tool variables. post.DefineCustomToolParam also works for operations so for instance you could use something like this to define a material thickness option:
post.DefineCustomToolParam("JetOperation", "Material thickness", "thickness", sc.unitLINEAR, 6, 0.5, 50)
For material thickness you could use the material thickness defined in job options. This is available to the post as the variable materialThick.