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

Landon Mitchell Kanner
Landon Mitchell Kanner Member, Employee Posts: 290
100 Comments 25 Answers 25 Likes Photogenic
✭✭✭✭

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

Tagged:

Best Answer

  • Landon Mitchell Kanner
    Landon Mitchell Kanner Member, Employee Posts: 290
    100 Comments 25 Answers 25 Likes Photogenic
    ✭✭✭✭
    Answer ✓

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