How to get selection data

edited October 2015 in General
I am writing a python script to analyse layouts. Can you please tell me how can I access a selected cell's data in macro development tab?

Thanks.

Comments

  • edited November 2015

    Hi,

    The cell selection is not accessible directly within Python. Only selected layout objects, rulers or images can be obtained through the API currently.

    You may be able to find the widget using the Qt API and ask for the selected cell items, but that's highly non-portable and likely not to work in future versions.

    Matthias

Sign In or Register to comment.