and is it possible to know which .installation file is currently loaded?,
I need the features so that I can choose which feature my vision system shall use,
I really appreciate any help you can provide.
You can read the Features from the Installation using the API calls to this.
Check out the Whip sample, that loads the features for the user to select a feature from the list.
If the Plane_1 is variable (i.e. named Plane_1_var as above), then it is added by the Features InstallationNode to the preamble of the program. You can read whether the plane is variable using the API call for this.
It will be added as a variable like:
global Plane_1 = p[0.1,0.2,0.3,0,3.1415,0]
Hence, you can overwrite this in script - and the next motion would then behave differently.
Note:
However note, that when the program is started over, the variable plane will be written back to the default value. Hence the Installation value of the plane does not change.
Bonus note:
In the Expression editor, you can select the value of the original plane (e.g. Plane_1) from the Poses list, and the dynamic value of the program variable from the Variables list.
Thanks this is what I wanted to hear!
![ursim [Running] - Oracle VM VirtualBox_005](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/optimized/1X/a77bc8aa186ef5973f7d33deed4833a013453cf7_2_630x500.png)
![ursim [Running] - Oracle VM VirtualBox_006](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/optimized/1X/5fa4ed352da34490930454eeb8a5e496ada706ac_2_638x500.png)