Showing results for 
Search instead for 
Do you mean 
Reply

Previous Selected Object

I am writing a script for TcSE and need to access the Previously selected object ...

 

When I select an object, the value for the global variable $selected is changed to the LOID for that object and the Notebook panel updates to show me the object name, properties,links  ...

 

If I then select the Links tab, I can see that it is linked to one (defining) object that has two children

Section 1

   ├ Requirement 1

   └ Requirement 2

 

If I select Requirement 1, the value for the global variable $selected is updated. Is there any way I can access information on the previously selected object?

 

TIA

Mark