In Mechanical Scripting, how do I access the selected (highlighted) analysis tree object(s)?

Options
Landon Mitchell Kanner
Landon Mitchell Kanner Member, Employee Posts: 208
First Answer First Comment 5 Likes First Anniversary

I want to be able to access which branch(es) are selected:

Tagged:

Best Answer

  • Landon Mitchell Kanner
    Landon Mitchell Kanner Member, Employee Posts: 208
    First Answer First Comment 5 Likes First Anniversary
    Answer ✓
    Options

    For a list of all active objects:
    Tree.ActiveObjects
    Or if you just want the first active object:
    Tree.FirstActiveObject