jancory opened this issue on Feb 21, 2006 ยท 10 posts
svdl posted Tue, 21 February 2006 at 10:13 AM
The workaround is complicated. First, your Python script must open a .mt5 file for reading. Not too difficult, it's a plain text file. Second, your script must read in the file, line by line, examine the line for a node location, store the line in a data structure, and if it's a line designating a node location, mark it. When all the lines have been processed, you can calculate the new node positions, alter the lines in your data structure, and then write out the data structure to a (new) .mt5 file. And I'm not even sure whether P5 Python can load a material from the library... In short - quite a lot of work.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter