01-02-2019 11:10 AM
@JÞB wrote:
There is something wrong with your cleanup settings. The For loop grew(should have shrunk and the i term is wrongly placed), wires are on top of each other and the int wires cross twice. Tell me that was not a Ctrl+U result
It was a click on the cleanup button in the toolbar, nothing else. I won't spend time manually cleanup anything like that. 😄
Also, since I don't use cleanup for my own code, all settings are at their default. 😮
But yes, I agree it did not do a great job... and clicking cleanup a second time makes it even worse.....
01-02-2019 11:14 AM - edited 01-02-2019 12:19 PM
... and look what cleanup (LV 2018) does to his client code:
Strangely, if I do a ctrl+a , ctrl+c and copy it into notepad, things no longer overlap in the pasted image, so go figure. 😮 Also, a second cleanup push fixes the overlap.
01-02-2019 11:16 AM
The code MUST have autogrow off on some structures
01-02-2019 11:22 AM
Autogrow on the while loop is enabled.
01-03-2019 08:59 PM
I always maintain that if the cleanup tool makes your block diagram look BETTER, you should really revisit your coding practices.
01-03-2019 11:17 PM
01-03-2019 11:58 PM
Actually, it is the other way around!
BD Cleanup affects almost everything (except, maybe, comments)!
If you have any structure with Autogrow enabled, BD Cleanup would still reduce the size of this structure if it it unnecessarily/unusually big/large.
01-07-2019 05:00 AM
@parthabe wrote:
BD Cleanup affects almost everything (except, maybe, comments)!
And (I presume) structures that have "Exclude from Diagram Cleanup?" turned on...
01-07-2019 07:47 AM
wiebe@CARYA wrote:And (I presume) structures that have "Exclude from Diagram Cleanup?" turned on...
I have seen a difference with that one 🙂
01-07-2019 07:53 AM
That's obvious!