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

Landon Mitchell Kanner
Landon Mitchell Kanner Member, Employee, GitHub-issue-creator Posts: 327
50 Answers 100 Comments Second Anniversary 25 Likes
✭✭✭✭

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

Tagged:

Best Answer

  • Landon Mitchell Kanner
    Landon Mitchell Kanner Member, Employee, GitHub-issue-creator Posts: 327
    50 Answers 100 Comments Second Anniversary 25 Likes
    ✭✭✭✭
    Answer ✓

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