cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Voyager
Voyager
1,010 Views
Registered: ‎10-12-2016

no visibility with highlight object command for some objects ?

Hi Friends, 

Is there any option for zoom in of highlighted objects with highlight_objects ?

highligt_vivado_object.PNG

 

Any help or suggestions are appreciated. 

Thank You 

S Sampath

-Sampath
0 Kudos
Reply
5 Replies
Xilinx Employee
Xilinx Employee
1,002 Views
Registered: ‎05-14-2008

I think you can try below commands:

marked_objects

get_highlighted_objects

get_marked_objects

 

-vivian

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 Kudos
Reply
Voyager
Voyager
980 Views
Registered: ‎10-12-2016

HI @viviany

Thank You, 

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. 

Thank You 

S Sampath

-Sampath
0 Kudos
Reply
Observer
Observer
900 Views
Registered: ‎04-04-2013

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

try:

select_objects [get_highlighted_objects]

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
0 Kudos
Reply
Voyager
Voyager
869 Views
Registered: ‎10-12-2016

HI , 

 

Tool is automatically exited if i enter those commands. 

 

Thank You 

S Sampath

-Sampath
0 Kudos
Reply
Observer
Observer
861 Views
Registered: ‎04-04-2013

Try only the following command, it will get rid of your original selection though, that should not crash

select_objects [get_highlighted_objects]

 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).

0 Kudos
Reply