Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

添加分离逻辑处理器

#3
(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.


Messages In This Thread
添加分离逻辑处理器 - bykberisso- 04-23-2020, 11:43 PM
RE: Adding detach logic to post processor - bykberisso- 04-24-2020, 04:55 PM



Users browsing this thread:
1 Guest(s)