04-24-2020, 04:55 PM
(04-24-2020, 11:17 AM)Albert Wrote:Hi Kevin,
You should take a look at the RunCode function of your post processor and implement something like this:
Code:def RunCode(self, code, is_function_call):
"""Adds code or a function call"""
if not is_function_call:
if "attach to " in code.lower():
self.addline("CustomFunction(param);")
Thanks. I will give that a look.