Logic Machine Forum
FBEditor diagrams sorting - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Application Store (https://forum.logicmachine.net/forumdisplay.php?fid=11)
+--- Thread: FBEditor diagrams sorting (/showthread.php?tid=1587)



FBEditor diagrams sorting - Kai-Roger - 12.09.2018

Hi.

How is actually diagrams sorted in the attached picture? It's not alfabeticaly, and not chronologically.

BR

   


RE: FBEditor diagrams sorting - Daniel - 13.09.2018

Hi
There is no rule Wink
Sorting is done via lua table based on key ID which is not visible by user.
Things to improve in the future.
BR


FBEditor diagrams sorting - Kai-Roger - 13.09.2018

Good to know. Maybe in the future. I have plans on making possible 100 diagrams, and it would have been nice to sort alfabetically. Maybe have the possibility to search in the list to.

That beeing said, is it possible for me in the meantime to change the lua key ID on the diagrams without screwing up the entire system?

BR
Kai-Roger


RE: FBEditor diagrams sorting - Daniel - 13.09.2018

Why do you need 100 diagrams? maybe script would simplify it better?


RE: FBEditor diagrams sorting - Kai-Roger - 13.09.2018

No i am not into scripting, but maybe i should look into it someday  Smile I have done some minor VBA coding in Excel, but thats another language  Rolleyes

I generally like the idea of using blocks so that i can print out pdf of the logic for documentation on jobbs.

And when make a good working block logic, it is often somthing i can copy up with "save as file" and "load as file" i FbEditor.
Like in my house i have 18 roms, and when i make a logic, i copy i 18 times.
If i make 5 small logics for 18 rooms, i will get 90 diagrams.


RE: FBEditor diagrams sorting - Daniel - 13.09.2018

BTW. Each diagram is generating script or several scripts which you can then look at. As a first step in to scripts you can check what you actually did Smile
With TAGs most of the time we can combine lot of scripts in to one. If you have just 5 types of logic it could end up in 5 scripts Smile
This all depend of what you are doing.


RE: FBEditor diagrams sorting - Kai-Roger - 13.09.2018

Interesting. Yes i will check out what i made and the tags, and then see if i get the big picture  Smile


RE: FBEditor diagrams sorting - Erwin van der Zwart - 13.09.2018

Hi,

Keep in mind that those scripts use functions that are not visible, so it might be hard to understand what the script realy does..

BR,

Erwin


FBEditor diagrams sorting - Kai-Roger - 13.09.2018

Yes i can understand that. I probably won't be an scripting expert this year

BR
Kai-Roger