@adambx
Hi,
Thank you for your reply, that's what I'm doing right now and I thought there might be a better option, but this is how I call a macro with python:
cc = CommandConnection()
cc.connect()
cc.perform_simple_code('M98 P"/macros/SomeMacro" L{}'.format(val))
Is there any other safer or better way to all a macro with python server?