question

Jouky D avatar image
0 Likes"
Jouky D asked Jason Lightfoot commented

FlexScript: How to obtain the object selected?

Hello everyone,

I am trying to know which object is selected (selected in yellow (click), not in red (control click)). I know there is the funcition: switch_selected(Object, -1) to know if is selected (with control + Click) or not. But how do I know which object is selected with only a Click? Is there a function for that?

Thank you!

FlexSim 23.2.1
flexscriptselected objectsfunctions
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Arun Kr avatar image
0 Likes"
Arun Kr answered Jason Lightfoot commented
  1. selectedobject(activedocumentnode());
· 5
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.