THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/11/2011 at 05:21, xxxxxxxx wrote:
Can you please tell me if there's a way to automatically add/remove ports on Python tag being based on Input number?
something like that:
def main() : for i in range(Input1) : # < int, number of Outputs nnn = "Output" + str(i+1) globals()[nnn] = float() #code for adding n-number of Output ports
I want to have something similar but without manually adding the ports: