$ 0 0 Your top node has no parent and you are trying to assign parent PC_ due to: PARENT=*str(PC_)+PARENT use *IF...