Add dev script for client debug

This commit is contained in:
WQY\qiong
2023-03-22 19:58:31 +08:00
parent 7bcba430ce
commit a59bb224ba

11
dev_script.py Normal file
View File

@@ -0,0 +1,11 @@
from tjnetwork import *
if __name__ == '__main__':
p = 'net4'
copy_project('net3', p)
open_project(p)
set_vertex(p, ChangeSet({'link' : '20', 'coords': [{'x': 20.0, 'y': 40.0}, {'x': 40.0, 'y': 20.0}]}))
set_restore_operation_to_current(p)
close_project(p)
for i in range(1, 11):
copy_project(p, f'{p}_{i}')