Hello,
I'm currently working on getting my subsystem to work as part of a library. This subsystem has a mask and modifys itsself: upon request old blocks and lines are deleted and new ones are placed. This works fine as long as I use it as a non-library block or I strip the part which connects the blocks. Somehow the command does not work inside a library block and therefore I get errors when the blocks should get connected to already existing lines (e.g. an already connected output-port can't take another signal).
I'm using the following command to search for all lines inside the library-block:
oldLines = find_system(gcb, 'FindAll', 'on', 'LookUnderMasks','all', 'type', 'line')
Since modifying the contents of a library-block only works inisde the initialization-function, I added a flag-parameter which allows me to update the contents only on request instead of all the events that trigger the function.
Is this behavior intended or is there another way to do this?