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

Landon Mitchell Kanner
Landon Mitchell Kanner Member, Employee Posts: 178
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: 178
    First Answer First Comment 5 Likes First Anniversary
    Answer ✓

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