01-14-2019 10:39 PM
Is there any option for zoom in of highlighted objects with highlight_objects ?
Any help or suggestions are appreciated.
01-14-2019 11:14 PM
I think you can try below commands:
01-15-2019 02:05 AM
But i tried all but no use,
i searched for clock pin in the bank 33 and highlighted, and they used commands what you mentioned. But device view same as previous, i want like zoom into that device with commands.
01-31-2019 04:29 AM
Unfortunately, there seems to be no documented API to modify the viewport. However, you can select objects to change the view to zoom in, provided "Autofit selection" is enabled
If you want to zoom in without changing the selection you could try (again I am not aware of an API to change viewport behaviour)
#Manually turn on Autofit selection set originalSelection [get_selected_objects] select_objects [get_highlighted_objects] #Manually turn of Autofit selection select_objects $originalSelection
02-01-2019 08:21 AM
Try only the following command, it will get rid of your original selection though, that should not crash
I do not see why the other command sequence crashes vivado, but I am assuming it is this bug showing its face again (Vivado crashes when using the result of [get_selected_objects] in other commands quite a lot, I hope Xilinx fixes this, but am unable to open a case).