For some devices, this procedure was working incorrectly due to the use of get_designs instead of current_design. With get_designs, more than one designs could be returned (even if only one design was open), causing the rest of the procedure to work incorrectly. Using current_design means only one design is returned instead of a possible list, fixing the problem.
For some devices, this procedure was working incorrectly due to the use of get_designs instead of current_design. With get_designs, more than one designs could be returned (even if only one design was open), causing the rest of the procedure to work incorrectly. Using current_design means only one design is returned instead of a possible list, fixing the problem.